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
…) (#407)
When _domRef is used to directly modify the DOM, this causes the state of the DOM to no longer match the View from which it was rendered. When the renderer later tries to unmount the modified element, this can cause a crash.
This PR fixes the crash by catching (and ignoring) this failure in DOMRenderer.unmount. This fixes#326 and #369, which are the same issue.
Note that directly modifying the DOM with `_domRef` can still cause problems, as the state mismatch remains. For example, an update to the `View` can cause the renderer to overwrite those DOM changes.
Describe the bug
URL hash change demo in the
TokamakDemo
app crashes after interacting with the "DOM reference" demo.To Reproduce
TokamakDemo
Expected behavior
The "URL hash changes" demo works, but it crashes.
Additional context
Currently reproducible with all browsers.
The text was updated successfully, but these errors were encountered: