lukasbach / react-complex-tree

Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop
https://rct.lukasbach.com
MIT License
952 stars 77 forks source link

Search icon does not follow search input when scrolling #239

Closed khamphou closed 1 year ago

khamphou commented 1 year ago

Describe the bug in page containing a large number of tree nodes, in search mode, and when scrolling down, the search input follows the scroll, but not the search icon.

To Reproduce

the issue is present also in the official document page at https://rct.lukasbach.com/storybook/?path=/docs/core-react-refs--expand-or-collapse-all

Expected behavior search icon and input text are following the windows canvas

Screenshots image

Desktop (please complete the following information):

Additional context react-complex-tree 2.1.1

lukasbach commented 1 year ago

Hey, thanks for the report! This should be fixed as of 2.1.2.