react-popper
react-popper copied to clipboard
🍿⚛Official React library to use Popper, the positioning library
### Reproduction demo https://codesandbox.io/s/blue-leftpad-4of16?file=/src/Tooltip.tsx I am using example code from the popper docs with styled components. I want to make sure it is not related to styled components usage. Happy...
I consume `react-popper-tooltip` which is built on top of this package, and my simple CRA app can't shake it. I started an issue with the author here: https://github.com/mohsinulhaq/react-popper-tooltip/issues/97 and after...
Hello, just installed a project with version 1.3.7 and getting react-popper has no exported member RefHandler. In version 1.3.4 this is no problem. In react-popper.d.ts this line is missing `type...
### Reproduction demo I am using usePopper hook for auto positioning a dropdown. The code works fine in a sandbox and when running in the development environment. However, it does...
### Reproduction demo https://codesandbox.io/s/condescending-mendel-bo6hp?file=/src/App.tsx ### Steps to reproduce the problem 1. Pass a `strategy` value to `usePopper` that depends on a property or state 2. Switch the `strategy` value from...
### Reproduction demo https://codesandbox.io/s/react-popper-v2x-issue-template-vb3kt?file=/src/index.js ### Steps to reproduce the problem 1. ensure the codesandbox has enough room along both axis' so that `auto` move it to the side as well...
When I change `referenceElement` or `popperElement` to `null`, `usePopper` returns old state to me. ## Steps To Reproduce 1. open the reproduce link: https://codepen.io/lmk123/pen/zYrRzMM 2. click the 'Set referenceElement to...
I created a [dev.to post](https://dev.to/tannerhallman/using-usepopper-to-create-a-practical-dropdown-5bf8) on a dropdown component where it uses the new recommended hook `usePopper` and I had an awfully hard time getting the example on the docs...
### Reproduction demo https://codesandbox.io/s/react-popper-v2-x-issue-template-forked-k37vgt?file=/src/index.js ### Steps to reproduce the problem 1. Open the codesanbox 2. Page is unresponsive ### What is the expected behavior? It should run function on first...
### Reproduction demo ### Steps to reproduce the problem 1. Open the custom dropdown with fixed startegy and start scrolling on ios/macos safari browser 2. Instead of dropdown staying at...