Cory Parsnipson
fc2c0e899a
Remove preventDefault from swipeable and tappable.
...
This was prevent carousel particles that contained clickable items from
working properly on mobile devices.
Removing preventDefault from both locations allows these items to
response properly when clicked. No adverse behavior had been observed.
Tested on a Pixel 2 phone monitored with chrome dev tools.
2022-06-23 17:12:04 -07:00
Vadim
d019404259
#56 : Rename focusable -> hoverable
2021-08-16 16:42:07 +03:00
Vadim
b11098de50
#56 : Add prevent default
2021-08-16 16:28:44 +03:00
Vadim
4e6f37ca91
#56 : Fix touchable handlers
2021-08-16 09:46:35 +03:00
Vadim
efdca46391
Revert listen to touchable changes
2021-08-16 00:59:00 +03:00
Vadim
d8cc22093c
#56 : Code cleanup
2021-08-12 22:14:22 +03:00
Vadim
9eca04ebb7
Merge branch 'main' into feature/#56_Switch-pausable-handlers-dynamically
2021-08-12 22:12:01 +03:00
Vadim
e95618c4bd
#57 : Fix non passive touchstart event
2021-08-12 22:09:23 +03:00
Vadim
52c11c2480
#56 : Update pausable handlers
2021-08-12 22:07:01 +03:00
Vadim
257c78b327
#49 : Code cleanup
2021-08-08 11:59:39 +03:00
Vadim
fea99b6cd8
#49 : Update swipe event names
2021-08-06 23:41:41 +03:00
Vadim
8243883612
#49 : Dispatch and handle swipe failed
2021-08-06 23:32:41 +03:00
Vadim
094ed0894e
#49 : Validate tap event
2021-08-06 23:12:13 +03:00
Vadim
b66ab30a0d
#49 : Separate handlers for touchable and non toachable devices
2021-08-06 22:25:02 +03:00
Vadim
b8695632ca
#49 : Code cleanup
2021-07-24 22:49:11 +03:00
Vadim
b3aebdf79a
#49 : Update swipe event handling
2021-07-24 22:47:13 +03:00
Vadim
e837e09789
#49 : Add tappable event handlers
2021-07-24 16:16:23 +03:00
Andrew McGrath
f3697d9783
Check if TouchEvent is defined first ( #32 )
...
When clicking on an image in the carousel with a mouse, a ReferenceError is thrown because TouchEvent is undefined.
2021-06-18 21:59:15 +03:00
Vadim
cc82fcf44f
Renamed hoverable -> focusable
2021-04-20 22:41:07 +03:00
Vadim
55335dbb48
Move swipeable action to actions dir
2021-04-20 22:28:57 +03:00