So I have been wrapping my head(again) on this problem that I encountered. I have pinpointed my problem to the Owl Carousel v2.2.1 plugin not being compatible with PinchZoom.js v2.3.4.
I also took the latest version of Owl Carousel v2.3.4 and apparently PinchZoom.js stops working completely, so I had to use a earlier version of Owl Carousel to achieve the functionality that I require.
The problem is that on pages that have the Owl Carousel slider for images, the PinchZoom.js works fine on Android and Desktop devices but as soon as I use a iOS device (iPad or iPhone), the image is blurred when zooming in on that page. The other pages work fine with PinchZoom that do not have the Owl Carousel plugin defined on them.
T̶o̶ ̶s̶e̶e̶ ̶a̶ ̶l̶i̶v̶e̶ ̶w̶o̶r̶k̶i̶n̶g̶ ̶s̶i̶t̶e̶,̶ ̶r̶e̶f̶e̶r̶ ̶t̶o̶ ̶t̶h̶e̶ ̶f̶o̶l̶l̶o̶w̶i̶n̶g̶:̶
http://epaperbeta2.eenadu.net/Home/Index
On iPhone or iPad, click on the bottom Ad container to hide it and then choose date as 1st Nov 2019
.Now when you double tap to zoom on the first page, you will see that it is blurred on zoom. Now when you go to the next page and zoom, you will notice that the image is NOT blurred and displaying correctly.
Not only the double tap zoom but the pinch zoom on iOS devices also does not work on the pages initialized with Owl Carousel.
Does anyone have any idea as to why PinchZoom.js in not compatible with Owl Carousel on iOS devices.
Any help will be greatly appreciated.
UPDATE: This is still a problem. I have even tried to use a other slider called Slick but the problem still remains. I have even tried to change the css
styles of the slider and the entire page but no luck there.
In PinchZoom, there is an option called use2d
that works correctly with pages not initialized with the Owl Carousel but as soon as the pages with the Owl Carousel or Slick are initialized, this property fails. I believe it has something to do with the translate
and scale
properties of the plugin. Maybe some conflicting changes lead to this but why only on iOS devices?
Any help?