Sometimes, when you apply a Tooltip on an element, the Popper is shown in top left corner of viewport. Then you need to specify the container of the element as relative which is bad developer experience.
Now the Popper is wrapped in a div that belongs to Portal, could we set position relative to this portal so it's always correctly positioned?
Is really non relative position a cause in all scenarios? For example Popover doesn't have this problem but it doesn't use transform3d for positioning but top, left attributes instead.
Sometimes, when you apply a Tooltip on an element, the Popper is shown in top left corner of viewport. Then you need to specify the container of the element as relative which is bad developer experience.
Now the Popper is wrapped in a div that belongs to Portal, could we set position relative to this portal so it's always correctly positioned?
Is really non relative position a cause in all scenarios? For example Popover doesn't have this problem but it doesn't use
transform3d
for positioning buttop, left
attributes instead.