Open mrozbarry opened 4 years ago
From slack: https://hyperapp.slack.com/archives/C41ECC0V6/p1574174995123300?thread_ts=1574170976.123200&cid=C41ECC0V6
Sorry, I’m not familiar at all with extension development. But could it be something about timing issues? At least I’ve noticed chrome and safari behave differently wrt rAF and setTimeout(…,0) I don’t know how that might help, if at all though. Maybe try a different version of chrome? Try hacking hyperapp to use setTimeout instead of requestAnimationFrame to defer, and see if that makes a difference?
In Firefox, I get the proper events:
In Chrome, I'm missing the toggle, and the subscription doesn't show up at all:
The app itself does all the expected updating.
I've had some previous issues with chrome doing some strange caching of extensions that I don't fully understand, and wouldn't mind another opinion.
Here's the chrome build I'm using:
hyperapp-debug-dev-tools-chrome-unsigned.zip
And an easy place to test the extension is https://mrbarry.com/test-bed