javascript - Jquery dialog chrome issue - scroll not visible when opening for second time -


this modal div element:

<div id="modal-window" style="display:none;">     <iframe id="modal-window-inner-html" frameborder="0"></iframe> </div> 

and jquery modal defined in javascript:

 $("#modal-window").dialog({         autoopen: false,         modal: true,         width: 350,          height: 800  }); 

this iframe css:

#modal-window iframe {     position: absolute;     top: 0;     bottom: 0;     left: 0;     right: 0;     height: 100%;     width: 100%; } 

in iframe content put large html should scroll. have 1 chrome issue (other browsers work fine), when open modal first time in chrome fine (scroll visible), when close modal , open again second, third time etc. scroll not visible can still scroll content. how force scroll visible? tried putting overflow-y: auto !important; on iframe, putting maxheight on jquery modal, destroying jquery modal on close, nothing resolved issue.

adding fixed pixel height iframe should fix it


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -