Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Pop-up misplaced until window resized #61

Open
soberstadt opened this issue Dec 10, 2012 · 0 comments
Open

Pop-up misplaced until window resized #61

soberstadt opened this issue Dec 10, 2012 · 0 comments

Comments

@soberstadt
Copy link

The pop-up dialog is added too low on the screen when first created.

For an example I use:
http://dev.jtsage.com/jQM-SimpleDialog/demos2/popup.html

Upon opening the dialog, it displays below the middle vertically.
Example: http://d.pr/i/SlAb

Until I do execute $(window).trigger('resize')
http://d.pr/i/RX0h

soberstadt added a commit to soberstadt/jquery-mobile-simpledialog that referenced this issue Dec 10, 2012
It seems the coords are calculated before `create` is fired on dialog. So I recalculated after.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant