question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange animations with keys

See original GitHub issue

I was trying to get the library https://github.com/STRML/react-grid-layout to work with preact. I encountered an issue that preact misses animation on items inside of the grid (because of rerenders, I guess), and sometimes animates wrong items. For example, removing 0th item make all other items act like they were moved (on preact 8).

React version: https://codesandbox.io/s/dreamy-matsumoto-k6778 Preact (8) version: https://codesandbox.io/s/strange-worker-9r59j

I couldn’t setup codesandbox for Preact X, but I am having similar issues on my machine (but without wrong animations).

Is there a fundamental problem in the library? Can this be fixed?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
developitcommented, Oct 5, 2019

Hmm - that’s a behaviour I’m unfamiliar with @michaelkrukov. If Preact is doing something dramatically different then it may be worth seeing if we can reconcile.

0reactions
marvinhagemeistercommented, Mar 13, 2020

@kish0022 Can you open a new issue for that? Just checked the sandboxes in the original issue description and it has been fixed in a past release.

Closing because I can’t reproduce the issue of the original poster with the lastest version of Preact anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animated Keys GIFs | Tenor
With Tenor, maker of GIF Keyboard, add popular Animated Keys animated GIFs to your conversations. Share the best GIFs now >>>
Read more >
Top 10 Weirdest Animated Films - YouTube
Are you ready to see something weird ? ... Top 10 Weirdest Animated Films ... 32K views 1 year ago # Animation #...
Read more >
Animator locking animated value even when current state has ...
I have a value on a monobehaviour that I have animated. ... Animator locking animated value even when current state has no curves/keys...
Read more >
Weird Animation problem - keyframes - Blender Stack Exchange
Okay, so the problem isn't with the constraints, but with the keyframes on "main". On frame 75, main is keyframed to a quaternion...
Read more >
Keyboard Animation Issues When Calling ...
I believe you're having problems because you're effectively stacking animations. The keyboard view is contained by the modal view.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found