I have a website using Bootstrap 4.x carousel. The layout is user-scalable with the following viewport meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, shrink-to-fit=no">
.
Currently, users can pinch to zoom when touching outside of the carousel. However, I want to enable scaling when touching inside the carousel while maintaining the default slide behavior.
Edit
I attempted to add the following CSS rule:
.carousel.pointer-event {
touch-action: auto;
}
While this allows for scaling, it interferes with the left and right touch-slide functionality. Is there a way to enable both pinch-to-zoom and swipe-to-slide simultaneously?