Closed FrancescoCioria closed 7 years ago
anchor="auto" is a good start, but we need the Dropdown to position itself completely automatically which means:
anchor="auto"
Dropdown
use position and anchor props as defaults in case there enough space for the Popover
position
anchor
Popover
for now don't move the arrow dynamically as it complicates the logic a lot. instead search for a combination of postion+anchor that works:
postion
{optional: other useful info}
requirements
anchor="auto"
is a good start, but we need theDropdown
to position itself completely automatically which means:use
position
andanchor
props as defaults in case there enough space for thePopover
specs
for now don't move the arrow dynamically as it complicates the logic a lot. instead search for a combination of
postion
+anchor
that works:misc
{optional: other useful info}