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
With the isRepeatable option activated, the previous flow allowed to disable the button in between repeats. The
button would be disabled but would keep on emitting the tap event.
The implementation of cancelling the tap event when moving has been revisited for better support of desktop browser.
The maxDeviation wasn't good enough, now it will detect if the cursor/finger leave the button.
Also added cancellation when scrolling farther than the button size.
tapend is getting called to cancel the tap action when mouse is leaving the button.
Removed touch/click preventDefault fix
WuiDom was refactored and incorporates this fix.
This made a lot more sense as all behaviors would need this.
It didn't make sense to have to replicate this every time we created a new behavior.
As such this version of wui-buttonBehavior requires WuiDom v0.4.0 and above.