react-popper icon indicating copy to clipboard operation
react-popper copied to clipboard

update() && forceUpdate() with createPortal

Open AlexeyShaykov opened this issue 1 year ago • 0 comments

Hi. Thanks for amazing lib!

Tell me please how to use update or forceUpdate functions in case https://popper.js.org/react-popper/v2/react-portals/ when popper render inside react portal?

in my case const { styles, attributes, forceUpdate, update } = usePopper()

hook usePopper always return forceUpdate or update null.

My problem is how to update poper position while scrolling the page

Thank you for any help you may be able to give!

AlexeyShaykov avatar Nov 09 '23 14:11 AlexeyShaykov