ionic-team / ionic-team/cordova-plugin-ionic-webview

Reloading the index page every time when swiping back from a loaded subpage

Open
#105 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
493
Forks
410
PR merge metrics
No merged PRs in 30d

Description

Im using the plugin with my phonegap.build app. And I have a issue and couple off questions.

Issue:
When I click on a link in my start page and load a subpage and then swipe back to the start page, then the start page freezes for about 4 sec before I can scroll it again. And I realised that it is reloading the start page every time I go back from a subpage.

1. Is this the expected way it should work? To reload the startpage?
How to prevent it from reloading the startpage? Why doesn´t it work like in Safari? Since Safari is using the wkwebview! When you load a subpage and then go back Safari remembers the position off the previus page, why is this not doing that?

2. When I open a subpage it is opened in a new view on top of my start page. And I wonder if it is possible to open it in the same view as the startpage? So all pages is loaded in just one view?

3. Is it possible to slide in a subpage and slide back(when click on a button).
I know that this plugin is sliding in external pages cordova-plugin-safariviewcontroller, so can you do the same with this plugin?

Any input appreciated thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.