Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update() && forceUpdate() with createPortal #461

Open
AlexeyShaykov opened this issue Nov 9, 2023 · 0 comments
Open

update() && forceUpdate() with createPortal #461

AlexeyShaykov opened this issue Nov 9, 2023 · 0 comments

Comments

@AlexeyShaykov
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant