Assertion Failed
See original GitHub issueThis error happens exclusively when I navigate away from a view that contains the toggle. Flipping the toggle works fine.
Uncaught (in promise) Error: Assertion Failed: You attempted to update
__instance
on<app@component:x-toggle-switch::ember346>
, but it had already been used previously in the same computation. Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.
DEBUG: ------------------------------- instrument.js:147 DEBUG: Ember : 3.22.0 instrument.js:147 DEBUG: Ember Data : 3.22.0 instrument.js:147 DEBUG: Ember Bootstrap : 4.3.0 instrument.js:147 DEBUG: Ember Simple Auth : 3.0.1 instrument.js:147 DEBUG: EmberFire : 3.0.0-rc.6 instrument.js:147 DEBUG: Firebase : 7.20.0 DEBUG: -------------------------------
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
@knownasilya I have prepared a PR for ember-gesture-modifiers with PointerEvents support. https://github.com/nickschot/ember-gesture-modifiers/pull/16 Want to try it before I release it?
Btw we are removing ember-gestures from this addon, so it should work even in affected versions once released. @nickschot any chance you’ll have time to work on those pointer gestures?