Kui Ádám

Results 2 comments of Kui Ádám

A workaround I use, is mocking the animate function on the Element prototype before running my unit tests. 1. Create a util function (here I'm using vi from Vitest, but...

For anyone else still looking at this solution: I was able to fix this issues, by rendering the child component having AnimatePresence, wrapped by a useMemo. So it updated the...