#4762·bootstrap

Add smart/fixed positioning option for components with dropdowns/popups and for tooltips/popovers

Author: icfantvCreated Oct 28, 2015Updated Nov 20, 2018
Labelstype: enhancementcomponent: $position

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)