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
Fix: OnSlidingComplete is launched at the end of tap event (#336)
* Fire the onSlidingStart on tap handler for iOS
* Send a lastValue instead of value when firing onSlidingStart
The Start event of Slider for Android sends the lastValue which acts as
a point where the thumb was when slider was clicked.
This value should also be sent on iOS platform to keep the behavior
consisent.
* Use a state machine for drag and tap events on Windows
The state machine for handling the Start->Update->Complete events is
used to avoid multiplication of events when flags for sending status are
used.
This solution was implemented because there's no clear way to override
the default drag/tap events on the slider. So to avoid reimplementing
the whole architecture the flags and state machines has been used.
* Remove unused LaunchEvents() method
* Remove redundant EventType enum
The `EventType` enum has been previously used to recognize the action
performed on the Slider. But due to using flags for a state machine this
enum is no longer required and can be safely removed.
0 commit comments