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

Allow opting out of Floating UI on <Select /> #293

Closed
lumosminima opened this issue Jan 21, 2024 · 2 comments · May be fixed by #469
Closed

Allow opting out of Floating UI on <Select /> #293

lumosminima opened this issue Jan 21, 2024 · 2 comments · May be fixed by #469
Labels
enhancement An improvement to an existing feature/component Svelte 5 Roadmap This issue is planned to be addressed or fixed when the library migrates to Svelte 5.

Comments

@lumosminima
Copy link

Describe the feature in detail (code, mocks, or screenshots encouraged)

Hi, hope you're doing well! ☀️In the createSelect builder we can pass positioning: null to opt out of floating UI but I couldn't find the equivalent in the select bit docs. This is needed so we can handle the presentation and positioning of options ourselves e.g, using CSS grid or a bottom sheet/dialog. Also Thanks! for #285

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

https://melt-ui.com/docs/builders/select#api-reference
https://m3.material.io/components/bottom-sheets/overview

1 Uvprcsv_kkSajEv5gMIrfQ

@lumosminima lumosminima changed the title Allow opting out of Floating UI on <Select.Root /> Allow opting out of Floating UI on <Select /> Jan 21, 2024
@huntabyte huntabyte added the enhancement An improvement to an existing feature/component label Jan 21, 2024
@huntabyte
Copy link
Owner

This is something we have on the roadmap!

@huntabyte huntabyte mentioned this issue Jun 9, 2024
4 tasks
@huntabyte huntabyte added the Svelte 5 Roadmap This issue is planned to be addressed or fixed when the library migrates to Svelte 5. label Jul 9, 2024
@huntabyte huntabyte mentioned this issue Jul 31, 2024
70 tasks
@huntabyte
Copy link
Owner

Closed in bits-ui@next. Use the Select.ContentStatic instead of Select.Content to opt out of Floating UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to an existing feature/component Svelte 5 Roadmap This issue is planned to be addressed or fixed when the library migrates to Svelte 5.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants