huntabyte / bits-ui

The headless components for Svelte.
https://bits-ui.com
MIT License
1.13k stars 84 forks source link

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

Open lumosminima opened 7 months ago

lumosminima commented 7 months ago

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

huntabyte commented 7 months ago

This is something we have on the roadmap!