stimulus_reflex
stimulus_reflex copied to clipboard
Reflex not triggered when a Stimulus controller is also attached to a field
Bug Report
Describe the bug
Reflexes are not triggered when any other Stimulus controller is attached to an input field.
To Reproduce
Attaching a Stimulus controller to a text field prevent reflexes from running.
Expected behavior
The reflex should get triggered in both cases.
Screenshots or reproduction
See: https://github.com/cmer/stimulus-reflex-bug-repro
And video demo: https://share.cleanshot.com/7sz67SPmk8sP8PGtL6xJ
Versions
StimulusReflex
- Gem: 3.5.0.rc3
- Node package: 3.5.0.rc3
Browser
- Browser: Any
Thanks for reporting this and for providing a repro @cmer. I was able to reproduce it in the test-suite and I'm currently looking into the best way to fix it! Thanks!
This should be resolved via https://github.com/stimulusreflex/stimulus_reflex/pull/670
Thank you SO MUCH! Awesome!!! Can't wait to give it a shot. You have a typo, btw. Left a comment.
This should be resolved with the release of v3.5.0.rc4. I'm going to close this issue, but please feel free to re-open if you are still seeing something unexpected!