Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Orientation Causes the Page to Reload #21

Closed
landry314 opened this issue Aug 21, 2016 · 2 comments
Closed

Changing Orientation Causes the Page to Reload #21

landry314 opened this issue Aug 21, 2016 · 2 comments

Comments

@landry314
Copy link

If I am in the middle of writing a message then switch from portrait to landscape orientation then the page reloads completely and I not only lose what I was typing but I have to then find my friend again to start a new message.

Why does an orientation switch cause a total reload? This isn't how most apps work.

@gsurrel
Copy link
Owner

gsurrel commented Sep 21, 2016

It's indeed not the expected behavior because the "browser" part of the app was initially only for logging-in. The total reload is a side effect of how Android works and I have no specific code to prevent that.

In the meantime, before getting a clean solution, I will lock the orientation even if I don't like that: it's better to be a little annoyed than loosing the whole text and page.

@gsurrel
Copy link
Owner

gsurrel commented Sep 21, 2016

I've found a nice way, it works like a charm :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants