Floating UI: Add detectOverflow
configurable collision boundary
#16879
Labels
Milestone
detectOverflow
configurable collision boundary
#16879
In certain situations consumers may need to customize the boundary/element used to detect collisions. One example of this might be the modal - components like Popover may need to reflow based on the bounds of the modal content container, and not the viewport.
To this we can implement the detectOverflow as a middleware and add props for consumers to pass in their own element and/or padding.
This will need to be done for every component that supports floating ui autoAlign:
Tasks
The text was updated successfully, but these errors were encountered: