-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
addResizeListener bug #1600
Comments
This bug hit me yesterday... During a demo no less. |
@Rich-Harris this still happens on iOS. However, in a slightly different form. The It's like a weird object that looks like Are you open to fixing it like this: - win && win.removeEventListener('resize', fn);
+ win && win.removeEventListener && win.removeEventListener('resize', fn); if so I can send a PR your way |
o_O the sheer weirdness of iOS Safari bugs never ceases to astound me. That seems like a reasonable fix, yes — a PR would be great, thank you |
It's possible (albeit unusual) for this line to run before
win
has been setThe text was updated successfully, but these errors were encountered: