-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening a modal triggers the Window resize event #2309
Comments
I experience a possible bug now because of this. Its propably a new issue but connected to this one. It occurs since the beta-14 release with different ion-slide directives in multiple views. The resize event triggers the setup method of sliders even if theire put in the view cache (invisible) causing a recalculation of theire dimension. The container element inside Going back to this view at one point in the app results in a broken slider (invisible since its width is zero). |
Why is this closed? Opening a modal shouldn't trigger a "resize"? In my case I have iScroll completely refreshing upon 'resize' .. which is really bad. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
I have several actions bound on the window resize event (like updating SVGs size etc.). Opening a modal triggers them every time. I believe opening a modal should not trigger the resize event.
http://codepen.io/shprink/pen/CFxiG
Cheers,
Julien
The text was updated successfully, but these errors were encountered: