LearnNewsExamplesServices
Frontmatter
id5406
titlemanager.DomEvent: fire() => prevent delegation for resize custom dom events
stateClosed
labels
enhancement
assigneestobiu
createdAtMay 25, 2024, 11:54 PM
updatedAtMay 25, 2024, 11:56 PM
githubUrlhttps://github.com/neomjs/neo/issues/5406
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 25, 2024, 11:56 PM

manager.DomEvent: fire() => prevent delegation for resize custom dom events

Closed v8.1.0 enhancement
tobiu
tobiu commented on May 25, 2024, 11:54 PM

main.addon.ResizeObserver creates custom dom events for resizing.

these events should only trigger listener fns in case it is a direct match.

example: a monaco editor has a resize event. in case we add a resize listener to a parent (e.g. the viewport), we do not want editor size changes to get into the viewport handler.

tobiu added the enhancement label on May 25, 2024, 11:54 PM
tobiu assigned to @tobiu on May 25, 2024, 11:54 PM
tobiu referenced in commit 1c7375f - "manager.DomEvent: fire() => prevent delegation for resize custom dom events #5406" on May 25, 2024, 11:56 PM
tobiu closed this issue on May 25, 2024, 11:56 PM