Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialog on long pages #32

Open
simiula opened this issue Jun 1, 2015 · 0 comments
Open

dialog on long pages #32

simiula opened this issue Jun 1, 2015 · 0 comments

Comments

@simiula
Copy link

simiula commented Jun 1, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant