mirror of
https://github.com/vercel/commerce.git
synced 2025-03-28 08:15:54 +00:00
Removing bug with touchstart
This commit is contained in:
parent
cbc354e0b6
commit
19db5a7e1d
@ -50,11 +50,13 @@ const ProductSlider: FC = ({ children }) => {
|
||||
)
|
||||
|
||||
return () => {
|
||||
if (sliderContainerRef.current) {
|
||||
sliderContainerRef.current!.removeEventListener(
|
||||
'touchstart',
|
||||
preventNavigation
|
||||
)
|
||||
}
|
||||
}
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"features": {
|
||||
"wishlist": true
|
||||
"wishlist": false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user