Skip to content

dialog on long pages #32

Description

@simiula

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions