قالب وردپرس درنا توس
Home / IOS Development / html – iFrame scrolls to the top by clicking on some items on iOS

html – iFrame scrolls to the top by clicking on some items on iOS



I've made a video of the problem: https://drive.google.com/open?id=10AhL2KUZpQJpsnkjuP_3y46mu3lQ0dTZ

You can see that the scrolling works well. And I can also use other buttons and fields just fine. The problem is only on iOS (both in the simulator and on a test device), but not on Android or in the browser.

I use ionic 4 with angle and cordova.
The code is as follows:


  

And css

  # shop-wrapper {
-webkit-overflow-scrolling: touch! important;
overflow-y: scroll! important;
height: 1
00%; width: 100%; } # shop-wrapper iframe { height: 100%; width: 100%; }

I gave you the right url so you can check that there is nothing unusual on the buttons.

I've been on this for several days and desperately need help.


Source link