naver / egjs-view360

360 integrated viewing solution
https://naver.github.io/egjs-view360/
MIT License
501 stars 91 forks source link

Cannot pinch zoom on Android device #442

Open nguyenph194812 opened 8 months ago

nguyenph194812 commented 8 months ago

Test on your main page, i can't perform zoom action on Android device, and also why i cant swipe down (vertical swipe). i see in the docs says that it will conflict to scrolldown but i dont see that happening with some other lib like panellum

devkon-at commented 4 months ago

Pinch zoom only works without the ControlBar-Plugin, would be nice to get them working together

devkon-at commented 3 months ago

Got it to work on Android and iOS with ControlBar enabled:

removed this line as evt.cancelable was always false (for me): https://github.com/naver/egjs-view360/blob/4c09a726ab06f487c9d3120ef2ffa60bb102b581/packages/view360/src/control/input/PinchInput.ts#L50

Honestly don't know what that breaks but seems to be working fine.