One-finger scrolling for <object> - iPad not working

I have a strange demand. I want to scroll the embedded pdf inside the <object> or <embed> element with one finger. At the moment, I can scroll the embedded content with two fingers.

 Tried following elements 1. <object> 2. <embed> 

Read many articles and find out that two fingers with a scroll gesture is Apple standard practice. Still want to try my luck.

Any help would be appreciated.

Thanks in advance.

0
html5 safari css3 ipad embed
Apr 03 '17 at 13:49 on
source share
1 answer

Although I have no explanation why Mobile Safari clearly needs this, the addition of overflow: auto; -webkit-overflow-scrolling: touch; overflow: auto; -webkit-overflow-scrolling: touch; into the container makes a scrollable pdf.

+2
Apr 09 '17 at 13:40
source share



All Articles