Skip to content

[Bug]: Multiple combobox + force-mount on ComboboxContent memory leak #2226

@Laurensvdmaas

Description

@Laurensvdmaas

Environment

Developement/Production OS: MacOS Tahoe 26.0.1
Node version: 22+
Package manager: npm 10.9.2
Reka UI version: ^2.5.1
Vue version: 3.5.22
Browser: Chrome 90.0.4430.212

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-c9mkyxvn?file=src%2FMyComboBox.vue

Steps to reproduce

I've attached the non crashing version (without force-mount on ComboboxConent).

  1. Navigate in the non crashing version, see that everything works fine.
  2. Add the force-mount prop to ComboboxConent in MyComboBox.vue and navigate to the about view.
  3. Browser crashes

Describe the bug

Not 100% sure what the bug is, not familiar with the code base.

It only happens with force mount & rendering MyComboBox.vue more than once.

Expected behavior

Non crashing browser.

Context & Screenshots (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions