You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide user feedback when user could not be triggered due to disabled state, missing event handler, etc
Possible Implementations
Option on configure not to break existing Fire Event / User Event APIs. This option would probably have to be opt-in, as some users are relying on event not being triggered in disabled states.
Totally agree! Would be great for devX and to debug tests more easily.
I think the best would be to log a warning by default and opt out of the option if needed, otherwise i fear not many people will hear about it and remember to turn it on
This could be very interesting indeed! I'm not too sure about missing handler because you would get a warning by targeting eg a Text within a Button and relying on event bubbling but it could be very useful for disabled states. I would personnally use it if it was for disabled states only because I don't usually trigger events on disabled elements but rather use toBeDisabled matcher but I do agree that at least it should be possible to opt out. What I'm not too sure is wether it should be activated by default or not but I believe it would be a good default
Describe the Feature
Provide user feedback when user could not be triggered due to disabled state, missing event handler, etc
Possible Implementations
Option on
configure
not to break existing Fire Event / User Event APIs. This option would probably have to be opt-in, as some users are relying on event not being triggered in disabled states.Related Issues
CC: @pierrezimmermannbam @MattAgn @AugustinLF wdyt?
The text was updated successfully, but these errors were encountered: