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
I'm using pleaseRotate with VueJS on one of my apps.
I call pleaseRotate.start() when I'm mounting [mount()] my app.
calling pleaseRotate.stop() doesn't kill existing pleaseRotate items, so if I'm going
[app] -> [back] -> [app]
pleaseRotate.start() is called twice, while pleaseRotate.stop() is called once [on beforeDestroy()]
and pleaseRotate is activated on both portrait and landscape mode [while the flag forcePortrait is at it's default setting of true].
My workaround is to put createElements() inside the if statement:
if (!document.getElementById('pleaserotate-backdrop'))
[which checks if there is already pleaseRotate div elements existing]
please contact me with any questions regarding this issue and reproducing it.
The text was updated successfully, but these errors were encountered:
I'm using pleaseRotate with VueJS on one of my apps.
I call pleaseRotate.start() when I'm mounting [mount()] my app.
calling pleaseRotate.stop() doesn't kill existing pleaseRotate items, so if I'm going
[app] -> [back] -> [app]
pleaseRotate.start() is called twice, while pleaseRotate.stop() is called once [on beforeDestroy()]
and pleaseRotate is activated on both portrait and landscape mode [while the flag forcePortrait is at it's default setting of true].
My workaround is to put createElements() inside the if statement:
if (!document.getElementById('pleaserotate-backdrop'))
[which checks if there is already pleaseRotate div elements existing]
please contact me with any questions regarding this issue and reproducing it.
The text was updated successfully, but these errors were encountered: