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
When a search is initiated in the Events Sheet, scrolling with the mouse becomes impossible.
Steps to reproduce
Open platformer example
Open Events Sheet
Hit CTRL+F and Search for "camera"
After the result is highlighted, try to scroll down
The sheet keeps scrolling back up
GDevelop platform
Desktop, Web, Mobile
GDevelop version
5.2.172
Platform info
No response
Additional context
After a bit of investigation, this seems to be coming from the searchFocusOffset property of react-sortable-tree.
This property is set correctly to focus the right search result, however it seems like when it is set we cannot scroll anymore.
An idea could be to remove this prop and do the scrolling ourselves. (in EventsSearcher, rework the _goToSearchResults to do a scrollToRow()
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
When a search is initiated in the Events Sheet, scrolling with the mouse becomes impossible.
Steps to reproduce
GDevelop platform
Desktop, Web, Mobile
GDevelop version
5.2.172
Platform info
No response
Additional context
After a bit of investigation, this seems to be coming from the
searchFocusOffset
property of react-sortable-tree.This property is set correctly to focus the right search result, however it seems like when it is set we cannot scroll anymore.
An idea could be to remove this prop and do the scrolling ourselves. (in EventsSearcher, rework the _goToSearchResults to do a scrollToRow()
The text was updated successfully, but these errors were encountered: