Tooltip with PopperJs, showing first state unpositioned

86 views Asked by At

https://codesandbox.io/s/intelligent-feynman-j5wzv

If you hover on the button, you will see an effect in the first rendering and then the right position of the Tooltip, Am I missing anything when using popperjs properly?

1

There are 1 answers

0
migueloop On

Solution was to add to StyledToolTip some visibility attributes:

visibility: "hidden"
"&[data-popper-placement]": {
    visibility: "visible",
  },