KeyboardToolbar icon indicating copy to clipboard operation
KeyboardToolbar copied to clipboard

Handle touch cancellation / touch up away from button correctly

Open apptekstudios opened this issue 3 years ago • 0 comments

Hi @simonbs, nice library. Very useful to save reimplementing this.

I noticed you weren't able to cancel a button press by moving away from the button (as also mentioned in #1 )

This is a simple patch to only run the representativeTool action if 'touchUpInside' was fired (rather than outside as well). It should not affect behaviour of the sub-tools.

apptekstudios avatar Sep 08 '22 04:09 apptekstudios