-
Notifications
You must be signed in to change notification settings - Fork 2.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
IE11 findDOMNode exception in click selection with multiple routes #1234
Comments
It seems that IE incorrectly or not fully unsubscribes from listeners. class Selection {
constructor(node, { global = false, longPressThreshold = 250 } = {}) {
this.isDetached = false
...
}
teardown() {
this.isDetached = true
...
}
_handleInitialEvent(e) {
if (this.isDetached) {
return
}
...
}
} If this approach makes sense, I can create a PR. |
Additionally, adding another |
I got same issues. Please let me know when will this issue be resolved? @jquense |
happy to take this PR if it helps |
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
Environment: IE11 with
installed.
Test-URL: https://martin-strobel.github.io/rbc-ie11-bug/dashboard
Test-Repo: https://github.com/martin-strobel/rbc-ie11-bug/
How to reproduce bug:
This also occurs after switching back to dashboard route.
This seems to happen because of findDOMNode calls, but I was unable to fix this.
On an unrelated note: Sometimes timeslots are not rendered correctly, this doesn't seem to influence the reported bug.
This trace happened on the calendar (WeekView) page:
What's the expected behavior?
There shouldn't be any (uncaught) errors when switching between Routes.
The text was updated successfully, but these errors were encountered: