prefect-design
prefect-design copied to clipboard
p-pop-over avoid reposition while open
Current use case is p-select, which uses p-pop-over to display options. PSelect prefers bottomLeft
to topLeft
, but often with too many items it will end up at the top. PSelect offers a search that limits options and can cause PPopOver to reposition to below when the threshold is met to fit in the preferred bottomLeft
. Suggestion is to avoid repositioning by default when the content is currently open