You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by sahebyuvrajsingh July 7, 2024
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0.4
What browser are you using?
Chrome & Edge
Describe your issue
I am able to close the HeadlessUI Menu component when I call the function through onScroll event within the child component but when I am passing it to the parent component and calling the same function through onScroll method in parent component, it's not working as its meant to be, please can someone spare some time to have a look where is the error. Is it the way HeadlessUI works or it's just a bug which is not yet fixed. I need to make it work; I am struggling with this since weeks. Thanks!
Discussed in #3371
Originally posted by sahebyuvrajsingh July 7, 2024
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0.4
What browser are you using?
Chrome & Edge
Describe your issue
I am able to close the HeadlessUI Menu component when I call the function through
onScroll
event within the child component but when I am passing it to the parent component and calling the same function throughonScroll
method in parent component, it's not working as its meant to be, please can someone spare some time to have a look where is the error. Is it the way HeadlessUI works or it's just a bug which is not yet fixed. I need to make it work; I am struggling with this since weeks. Thanks!Minimal reproduction
https://codesandbox.io/p/devbox/fancy-tree-x3vs7x
The text was updated successfully, but these errors were encountered: