javascript - Dialog and auto-height -


so replies created a jquery dialog. dialog has following settings:

$("#reply-window").dialog({   autoopen: false,   resizable: false,   modal: true,   autoresize: true }); 

there still scrollbar inside of dialog. if change css #reply-window to

height: xyzpx; 

i can modify height attribute. default

height: auto; 

the dialoge small , have deal scroll bar inside.

sorry answer, still can not write comments.

are using bootstrap? if yes, have on modal , use this. automatily scrollable , can put in whatever want


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -