devoops icon indicating copy to clipboard operation
devoops copied to clipboard

dialog on long pages

Open simiula opened this issue 10 years ago • 0 comments

I found that on dialog on long pages, the item appear on very bottom and not visible. I found a JS workaround for this: $( objectID ).click(function() { $('html, body').animate({ scrollTop: $("#dialog-confirm-standard").offset().top }, 2000); $( "#dialog-confirm-standard" ).dialog({
... rest of code

This 'move' in proper place the dialog.

simiula avatar Jun 01 '15 08:06 simiula