Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next: Setting avoidCollisions={false} doesn't disabled auto flip #983

Closed
Anon-136 opened this issue Dec 8, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Anon-136
Copy link

Anon-136 commented Dec 8, 2024

Describe the bug

I've been using the "1.0.0-next.66" and messing around with Tooltip
I'm trying to fix the side of the Tooltip.Content to "top".
I figured out that flip in floating-ui is mapped avoidCollisions so i try to set avoidCollisions={false}
but the result is that it still doesn't disabled auto the flip

Expected
Version 0.21.16

CleanShot.2567-12-08.at.18.24.12.mp4

Actual
Version 1.00-next.66

CleanShot.2567-12-08.at.18.26.05.mp4

Reproduction

https://stackblitz.com/edit/vitejs-vite-znbmy2b8?file=src%2FApp.svelte

Logs

No response

System Info

System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 99.27 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v20.9.0/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: 8.7.0 - ~/.nvm/versions/node/v20.9.0/bin/pnpm
    bun: 1.0.20 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.109
    Safari: 18.1.1
  npmPackages:
    @sveltejs/kit: ^2.9.0 => 2.9.0 
    bits-ui: 1.0.0-next.66 => 1.0.0-next.66 
    svelte: ^5.0.0 => 5.8.1

Severity

blocking an upgrade

@Anon-136 Anon-136 changed the title Setting avoidCollisions={false} doesn't disabled auto flip next: Setting avoidCollisions={false} doesn't disabled auto flip Dec 8, 2024
@huntabyte
Copy link
Owner

Thanks for reporting this and providing a reproduction! Have a patch release kicking off now to resolve this!

@huntabyte huntabyte added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants