forked from crowetic/commerce
Removing bug with touchstart
This commit is contained in:
parent
cbc354e0b6
commit
19db5a7e1d
@ -50,11 +50,13 @@ const ProductSlider: FC = ({ children }) => {
|
|||||||
)
|
)
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
if (sliderContainerRef.current) {
|
||||||
sliderContainerRef.current!.removeEventListener(
|
sliderContainerRef.current!.removeEventListener(
|
||||||
'touchstart',
|
'touchstart',
|
||||||
preventNavigation
|
preventNavigation
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"features": {
|
"features": {
|
||||||
"wishlist": true
|
"wishlist": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user