Hi all,
I open a popup via jquery by hijacking a button click event (I needed to run some code prior to the popup opening which refreshes a list within it).
The issue I have is my popup seems to open up shifted to the right hand side of the screen. If I click away from this so the popup closes and then re-open it the popup opens as expected in the center of the window.
Has anyone seen this happen before and can suggest why this may be happening? I am simply calling:
- $("#amendbookedusers").popup("open")
I have also tried adding in data-position-to:
- <div id="amendbookedusers" class="container_12" data-position-to="window" data-role="popup">