Closed hasanparasteh closed 1 year ago
This is because of library prevents touchstart
on swipe start, to do that I should prevent touchmove
instead of touchstart
I guess.
I will take a look after work.
Currently you can use onlyHeaderSwipe: true
, this won't prevent event on body cilck.
It fixed the bug.. but bottom-sheet
has a lot of compatibility issues with touch devices..
for example click-outside won't work on mobile devices properly
Yes it is because of preventint touch start. I will make touchmove non passive listener and prevent it instead :)
@hasanparasteh https://github.com/kadiryazici/bottom-sheet-vue3/pull/11 I hope this fixed it
There's something weird going on with
Sheet
component. I can freely click on anything that's inside of aSheet
component but only and only onDesktop Operating Systems
like MacOs or Linux or Windows and etc.I can't trigger
onclick
or any other thing inside sheet with mobile devices (touch devices)!How to reproduce
Just cloned the project from
main
branch and runnpm run dev -- --host
More Information
Bug appears on: v2.0.2 Browser: bug exists in any browser (I tested last 3 versions of
Chrome
andSafari
) OS: Android/IOS