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
The text was updated successfully, but these errors were encountered:
restrin-extensis
changed the title
Popover using anchor prop in PopoverPanel hangs during unit test
Popover using anchor prop in PopoverPanel hangs unit test
Jun 28, 2024
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
2.1
Adding this unit test to popover.test.tsx reproduces the problem
The problem seems to be within
useFixScrollingPixel
while setting the max height which resolves to NaN and this method is infinitely called.maxHeight: "min(var(--anchor-max-height, 100vh), 0px)"
The text was updated successfully, but these errors were encountered: