Skip to content

setTimeout() in Dialog#show() may cause miscalculation of dialog position#62

Open
fschaefer wants to merge 3 commits intovisionmedia:masterfrom
fschaefer:master
Open

setTimeout() in Dialog#show() may cause miscalculation of dialog position#62
fschaefer wants to merge 3 commits intovisionmedia:masterfrom
fschaefer:master

Conversation

@fschaefer
Copy link
Copy Markdown

see commit message.

The displaying of the dialog is deferred by removing the hide class in
a setTimeout() call. A subsequent call to Dialog#show() might calculate
a wrong dialog width due to the deferred hide class removal.
This allows the use of html as text argument in Menu#add().
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

Successfully merging this pull request may close these issues.

1 participant