Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Transitions broken between 1.2.5 and 1.2.6 #19

Open
zaceno opened this issue Jun 27, 2018 · 3 comments
Open

Transitions broken between 1.2.5 and 1.2.6 #19

zaceno opened this issue Jun 27, 2018 · 3 comments

Comments

@zaceno
Copy link
Owner

zaceno commented Jun 27, 2018

The latest update to hyperapp introduced a bug in transitions, you can notice in the toasts example when toasts are removed. (Janky behavior)

@jorgebucaran
Copy link
Collaborator

@zaceno Any idea where the bug is?

@zaceno
Copy link
Owner Author

zaceno commented Jun 27, 2018

@jorgebucaran I opened an issue in Hyperapp with what I've figured out so far. I believe it's a bug in 1.2.6.

jorgebucaran/hyperapp#710

@zaceno
Copy link
Owner Author

zaceno commented Dec 18, 2018

Long time since this issue was updated. Here's the basics: it's not exactly related to a bug in hyperapp. Rather, the whole set up is very sensitive to differences in timing of when hyperapp renders, when the browser paints, how it relates to setTimeout and requestAnimationFrame....

Since the beginning, it has been a process of trial and error to get something that works consistently across different browsers in different versions of hyperapp. For this reason, I won't be able to maintain the library with the current approach.

I'm currently working on a new version I hope will be much less sensitive to timing issues and much easier to maintain. The downside is that this approach will mean a dramatic shift in how it's used, and more complicated for the user. I hope not too bad, but it needs to be done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants