ui
ui copied to clipboard
[Bug] Incorrect Ref Assignment in ScrollArea Component
I found a bug in the ScrollArea component. The issue is that the ref
is incorrectly assigned to ScrollAreaPrimitive.Root
when it should be assigned to ScrollAreaPrimitive.Viewport
. I discovered this while working on implementing scrolling to the top of the page after navigation.