Opened 12 years ago
Last modified 12 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)
Change History (6)
comment:1 Changed 12 years ago by
Summary: | Dialog height not correct if overflow:hidden → Dialog height not correct if overflow:hidden/scroll |
---|
comment:2 Changed 12 years ago by
Keywords: | height removed |
---|---|
Status: | new → pending |
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 12 years ago by
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 12 years ago by
Status: | pending → confirmed |
---|---|
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 12 years ago by
Attachment: | mybutton_3x.zip added |
---|
Changed 12 years ago by
Attachment: | mybutton_4x.zip added |
---|
Not working also with overflow : scroll