Spotlight | Reactions to scrolling/window resize shouldn't smoothly animate #360
Labels
0.5 Story Points
issue size: .5
enhancement
New feature or request
help wanted
Extra attention is needed
released
Currently when scrolling while the spotlight is targeting an element, the spotlight will smoothly animate to the new position - which makes it feel like it's lagging behind. Ideally it should just scroll with the page contents. The same happens when the screensize changes
Dev hint: The useMemo for the spotlight rectangle bounds can update as usual, but the useSpring config needs to be
set()
withimmediate: true
when it is triggered by a scroll.The text was updated successfully, but these errors were encountered: