Wildcard/Tabs: debounce the auto scroll-back
Created by: oleggromov
A follow-up to the scroll-back PR after a conversation with @AlicjaSuska.
This debounces the scroll-back behavior by 500ms
so that it's less confusing for the users.
https://user-images.githubusercontent.com/2196347/171007422-a12966b3-cccc-4a52-a927-e2cc46602769.mov
Test plan
- Pull the branch
- Run
yarn storybook:wildcard
- Make sure tabs aren't scrolled back immediately as the mouse leaves their area
App preview:
Check out the client app preview documentation to learn more.