Replies: 1 comment 3 replies
-
I'm not entirely sure what your requirement is, but if you want the positioning of the const ref = useRef<HTMLDivElement | null>(null)
<div ref={ref} style={{ position: 'relative' }}>
<Select getPopupContainer={() => ref.current} />
</div> |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Live demo:
https://create-next-dashboard.vercel.app/products
Source code of this page:
https://github.com/Accretence/create-next-dashboard/blob/main/pages/products/%5B%5B...products%5D%5D.js#L235
Is there a way to prevent select components to scroll the page?
Beta Was this translation helpful? Give feedback.
All reactions