Skip to content

Nested menu not working since Svelte 5.33.5 on FirefoxΒ #2502

@rChaoz

Description

@rChaoz

πŸ› Bug report

The menu works correctly with Svelte 5.33.4, and is broken in 5.33.5, on the latest version of Firefox apparently. After some debugging, it seems like the parent ref remains null, even though it is set. This affects multiple things, but, for example, the pointerleave event no longer hides the nested menu, causing it to remain visible forever, this is shown in the reproduction below.

Note that this seems to be a state issue and likely affects more components, not just the menu.

πŸ’₯ Steps to reproduce

Instructions are inside the REPL below

πŸ’» Link to reproduction

https://svelte.dev/playground/72de13d6bb994daeabdc464626cd9eec?version=5.33.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions