LearnNewsExamplesServices
Frontmatter
id5629
titlePortal App: we sometimes get invalid DomEvents: addDomListener() calls when navigating from Home to Learn
stateClosed
labels
bug
assigneestobiu
createdAtJul 26, 2024, 11:24 PM
updatedAtJul 26, 2024, 11:34 PM
githubUrlhttps://github.com/neomjs/neo/issues/5629
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 26, 2024, 11:34 PM

Portal App: we sometimes get invalid DomEvents: addDomListener() calls when navigating from Home to Learn

Closed v8.1.0 bug
tobiu
tobiu commented on Jul 26, 2024, 11:24 PM

Screenshot 2024-07-26 at 23 21 07

This one is interesting for multiple reasons:

  • I did not scroll on the Home Page
  • Yet we do get events from the Colors App, which only gets mounted in case we scroll down to that page
  • Meaning: there must be an IntersectionObserver match when moving the node

To resolve this:

  • We need to add a check to only switch code.LivePreviews to the preview tab, in case the view is still the active one and in case the route is still home (has to be mounted).
tobiu added the bug label on Jul 26, 2024, 11:24 PM
tobiu assigned to @tobiu on Jul 26, 2024, 11:24 PM
tobiu referenced in commit 3d8f842 - "Portal App: we sometimes get invalid DomEvents: addDomListener() calls when navigating from Home to Learn #5629" on Jul 26, 2024, 11:34 PM
tobiu closed this issue on Jul 26, 2024, 11:34 PM