arnowelzel / periodical

A calendar to track your menstruation and calculate possible fertile days
http://arnowelzel.de/wp/en/projects/periodical
GNU General Public License v3.0
118 stars 43 forks source link

Scrollable view changes state on device rotation #29

Closed reverse-unina closed 6 years ago

reverse-unina commented 7 years ago

When I perform this sequence of events, the scrollable view on screen goes back to the top:

  1. Click on ...
  2. Click on: a. About... b. Help
  3. Scroll Down
  4. Orientation Change
arnowelzel commented 7 years ago

I'm not sure if this behaviour can be fixed for several reasons:

  1. These views are WebViews and there is no "clean" solution to save and restore the current scroll position.

  2. It makes no sense to restore the absolute scroll position since then some different content may be visible anyway. In landscape orientation the text lines are longer therefore the same absolute position will show a diffent part of the content and it may even not be possible to move to the same position as it was in portrait orientation.