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

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -