Opened 11 years ago

Last modified 11 years ago

#9826 confirmed Bug

Dialog height not correct if overflow:hidden/scroll

Reported by: Jaumard Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.0
Keywords: Cc:

Description

When i use dialog and put content as :

<div style="height:200px; width:200px; overflow:hidden"> <img src="..." height="1000" width="1000" /> </div>

Dialog height is put to 1000 instead of stay a current height. I can resolve this issue with this if it can help set "vertical-align" to 'top' instead of verticale-baseline

Attachments (2)

mybutton_3x.zip (3.4 KB) - added by Jakub Ś 11 years ago.
mybutton_4x.zip (3.4 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by Jaumard

Summary: Dialog height not correct if overflow:hiddenDialog height not correct if overflow:hidden/scroll

Not working also with overflow : scroll

comment:2 Changed 11 years ago by Jakub Ś

Keywords: height removed
Status: newpending
Version: 4.0.1 (GitHub - master)

@jaumard - I don't quite understand your description.

Where do I need to insert this code?

What are exact steps to reproduce this issue? Which browser should be used? Which version of editor should I use?

comment:3 Changed 11 years ago by Jaumard

Sorry I'm not English :) This code have to be put in dialog definition on the "contents" fields. After when dialog is show height is 1000 not 200. I use chrome browser under mac (retina). CKEDITOR 4.0 version.

Step to reproduce :

  • Create a ckeditor dialog
  • Put code under contents
  • Show dialog

That's it.

Tell me if you more understand or i will try to make an html page example.

comment:4 Changed 11 years ago by Jakub Ś

Status: pendingconfirmed
Version: 3.0

Confirmed. Initial height and minHeight are no help here.
Problem can be reproduced from CKEditor 3.0.

To reproduce:
Insert this in replacebycode page in CKE 3.x

CKEDITOR.replace( 'editor2', {
	extraPlugins : 'mybutton',
	toolbar: [['mybutton']]
});

or this into eplacebycode page in CKE 4.x

CKEDITOR.replace( 'editor2', {
	extraPlugins : 'mybutton'	
});

Next copy appropriate zip into plugins folder and open custom dialog.

Changed 11 years ago by Jakub Ś

Attachment: mybutton_3x.zip added

Changed 11 years ago by Jakub Ś

Attachment: mybutton_4x.zip added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy