Skip to content

Commit

Permalink
List view: fix stuck moving animation on Enter (#59644)
Browse files Browse the repository at this point in the history
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
  • Loading branch information
3 people authored and getdave committed Mar 11, 2024
1 parent b3c9f8b commit c66577a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function useMovingAnimation( { triggerAnimationOnChange, clientId } ) {

return () => {
controller.stop();
controller.set( { x: 0, y: 0 } );
};
}, [
previous,
Expand Down

0 comments on commit c66577a

Please sign in to comment.