Allow Popover to float on top, rather than forced to a side. #303
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.
Describe the feature in detail (code, mocks, or screenshots encouraged)
Inspired by the input fields of a table in Notion, I want to be able to click on an element and then float an Input/Textarea on top of it.
Using the Popover element (through shadcn Svelte) I am able to achieve this by deliberately giving a wrong value to the size property.
Note:
side="wrong"
of course makes TS complain. However, it actually achieves the effect that I want in the browser! 🎉Popover trigger:
Popover clicked:
I propose this 'bug' is turned into a feature. The side property should accept a value that makes it legal to place popovers on top of the triggered element.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response
The text was updated successfully, but these errors were encountered: