floating-ui / react-popper

🍿⚛Official React library to use Popper, the positioning library
https://popper.js.org/react-popper/
MIT License
2.5k stars 226 forks source link

Position of Popover is wrong, its fixed to top left #432

Closed Venipa closed 2 years ago

Venipa commented 2 years ago

Reproduction demo

Codesandbox Demo

Steps to reproduce the problem

  1. Click Red Field
  2. Wrong position

What is the expected behavior?

That the popover renders to the right start of the ref element.

What went wrong?

Popover position is set to top 0px, left 0px

Any other comments?

-

Packages versions

mschaeffner-orca commented 2 years ago

I have the same issue. My current workaround is to use @popperjs/core@2.10.2.

Venipa commented 2 years ago

https://github.com/tailwindlabs/headlessui/issues/985