This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Add smart/fixed positioning option for components with dropdowns/popups and for tooltips/popovers #4762
Open
Description
In an effort to give users more flexibility to dictate where popups and tooltips/popovers we need to add the ability let them specify where and how they want the item to be displayed.
Supported Locations - Top, Right, Bottom, Left, Top Left, Top Right, Bottom Left, and Bottom Right.
Smart Positioning - when used, implies that the library will determine the best location for the item.
Fixed Positioning - will display the item at the specified location.
Hybrid Positioning - exact behavior TBD, but maybe something like letting the user specify a fixed position and if it doesn't fit, use smart positioning. Or perhaps, letting the user specify an array of positions to try before using smart positioning.
Supported Components:
- Datepicker
- Dropdown (smart, top and bottom positioning only)
- Popover
- Tooltip
- Typeahead (smart, top and bottom positioning only)