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

Marking the status of the topmost habit triggers an automatic scroll to the bottom when sort order is by status #1683

Open
2 tasks done
navinthomas opened this issue Apr 8, 2023 · 1 comment
Labels
bug Something is not behaving as the developers expected confirmed The developers have been able to confirm that the issue is valid

Comments

@navinthomas
Copy link

Pre-submission checklist

  • I am submitting a bug report, not a feature request.
  • I have searched for similar issues, but did not find any matches.

Description

There is an inconsistent behaviour when the sort order is by status.

Scenario 1: For any unmarked habit that is currently the topmost one in the list view, if you change the status, the list view automatically scrolls to the bottom.

Scenario 2: For any unmarked habit that is currently NOT the topmost once in the list view, if you change the status, the habit moves down (as it should), but the list view stays in the same position. In other words, it does not scroll down automatically.

My assumption is that scenario 2 is the intended behaviour, and scenario 1 should behave the same way. This would make using the sort by status order a lot easier when you want to use the list as "things to do next". Otherwise, if I mark the first habit as done, the list scrolls down automatically. And I have to manually scroll back up if I need to mark the next habit also as done. This can be tedious when the list is long and when you have to update many habits in one succession.

Steps to reproduce

  1. Enable "Show questions for missing data" in settings
  2. Create a new test habit with frequency as every day
  3. Set sort order to "Manually" and move this newly created habit to the very top
  4. Change sort order to sort by status.
  5. At this point, the newly created habit should still be at the very top of the list even though the sort order was changed.
  6. Mark this habit as done in today's column
  7. You will notice that the list view will automatically scroll down to the bottom

System information

  • Phone: Google Pixel 4a
  • Phone Operating System: Android 13
  • App version: 2.0.3
@hiqua hiqua added bug Something is not behaving as the developers expected confirmed The developers have been able to confirm that the issue is valid labels Apr 8, 2023
@hiqua
Copy link
Collaborator

hiqua commented Apr 8, 2023

Thanks! I can reproduce, interesting bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not behaving as the developers expected confirmed The developers have been able to confirm that the issue is valid
Projects
None yet
Development

No branches or pull requests

2 participants