S
S
SpeakLive912018-12-08 18:25:02
HTML
SpeakLive91, 2018-12-08 18:25:02

How to remove the return to the original position of the page from the iframe in your mobile application on IOS (Ipone)?

Hello. I am building my Ionic app. The essence of the application is simple: display the page of the site. I do it through an iframe, the code looks like this:

<ion-content>
  <iframe src="https://pizzagusto.ru/sales/" width="100%" height="100%" frameborder = "no" scrolling="yes">
    Данный текст будет показан, если браузер
    не поддерживает фреймы.
  </iframe>
</ion-content>


When I run this application on Iphone and try to scroll down the page, the subsequent elements of the page are loaded as a result of which I return to the original position (top of the page). Moreover, there is no such problem on the computer, that is, scrolling works fine. How to avoid it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question