Skip to content

Tooltip breaks after clicking trigger to open dialog when "disableCloseOnTriggerClick" is true #1666

@bradlove182

Description

@bradlove182

Describe the bug

Tooltips break when the property "disableCloseOnTriggerClick" is set to true on Tooltip.Root and you open a dialog on click.

Reproduction

https://stackblitz.com/edit/github-hanso1pg-akspzwfn?file=src%2Froutes%2F%2Bpage.svelte

Logs

System Info

System:
    OS: macOS 14.6
    CPU: (12) arm64 Apple M3 Pro
    Memory: 76.88 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    pnpm: 10.13.1 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 138.0.7204.158
    Safari: 17.6
  npmPackages:
    @sveltejs/kit: ^2.21.5 => 2.21.5
    bits-ui: ^2.8.2 => 2.8.2
    svelte: ^5.34.6 => 5.34.6

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions