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

WeekView not restored correctly after changing screen orientation #259

Open
MatijaSokol opened this issue Jun 22, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@MatijaSokol
Copy link

Describe the bug
When rotating screen, WeekView is not restored to last visible date. It is moved 1-2 days from last visible date. I use latest version of WeekView (5.3.2), but I also have same problem with previous versions. I tried to manually set current date after rotating screen (using scrollToTime() and scrollToDate()), but it is not working.

I reproduce bug with both Samsung Galaxy S7 Edge (Android 8) and Xiaomi Redmi 6 (Android 10).

To Reproduce
Steps to reproduce the behavior:

  1. Go to WeekView
  2. Scroll to another date
  3. Rotate screen

Expected behavior
Go to last visible date.

Screenshots
ver
hor

WeekView configuration
weekView

@MatijaSokol MatijaSokol added the bug Something isn't working label Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant