Does viewport influence the use of the css touch-action attribute?

Asked

Viewed 12 times

0

I’d like to use the pincer css (touch-action) event in a container, but I don’t know exactly why it’s not working in my container:

css:

.container {
   position:relative;
   top:0;
   left:0;
   z-index: 15;
   width: 98%;
   height: 98%;
   overflow: scroll;
   touch-action: auto;
} 
      

Viewport:

<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, user-scalable=no, viewport-fit=cover">
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.