You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
$.widget("mobile.popup",$.mobile.popup,{_reposition: function(){// Do whatever popup does to reposition itselfthis._super();this._trigger("afterposition");}});
Also, if you need to perform this calculation for every popup in your application, you can just perform it right after this._super() and forego triggering afterposition altogether.
If this still does not address your concerns, please feel free to reopen the issue.
Thanks for that @gabrielschulhof. This probably will solve this, but I've added this request in case some else would want such event. Also I don't like to mess with external lib's "_private" methods in case something changes.
It would be nice if "popup" have an event triggered after doing positioning.
Right now I have to do
setTimeout
in beforeposition event do do some calculation after the dialog has changed position.The text was updated successfully, but these errors were encountered: