You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming more than one page on a screen, pagination controls allow users to wrap around from the last page to the first page regardless of using the right or left page buttons. However, there is a use case whereby the pagination does not follow that behavior. When the device is in Portrait orientation and that screen is at 1 page, and the device is rotated to Landscape so that there are 2 pages, then you cannot wrap around from the first page to the last with the arrows.
04/29/2022 Edit:
Same behavior occurs on main screen for both preset and custom categories. When categories has nine phrases on iPad, if we rotate the device from Portrait to Landscape, right and left arrows are not warping properly (Screen Recording 2).
Steps to Reproduce:
While your device's orientation is Portrait
Create a custom category
Add 3 phrases...remain on the Edit Phrases screen
Note the pagination controls for 1 page; buttons disabled
Rotate the device to be in Landscape
there should now be 2 pages instead of 1
Expected behavior
Now the arrows are enabled. Using the right arrow I can navigate to page 2 and then again to wrap around back to page 1. It is expected that you can do the same with the left arrow. To demonstrate: 1 -> 2 -> 1 and conversely 1 <- 2 <- 1
Actual behavior
Now the arrows are enabled but, using the right arrow to navigate, once you get to page 2 you cannot wrap around back to page 1. It is the same errant behavior with the left arrow.
After disabling animations we found that some tests are failing due to this bug (which seems more exposed now w/ animations off). We opted to just disable the affected tests. Once this bug is fixed then we will re-enable them.
Test affected:
MainScreenPaginationTests::testCanScrollPagesWithPaginationArrows()
Description:
Assuming more than one page on a screen, pagination controls allow users to wrap around from the last page to the first page regardless of using the right or left page buttons. However, there is a use case whereby the pagination does not follow that behavior. When the device is in Portrait orientation and that screen is at 1 page, and the device is rotated to Landscape so that there are 2 pages, then you cannot wrap around from the first page to the last with the arrows.
04/29/2022 Edit:
Same behavior occurs on main screen for both preset and custom categories. When categories has nine phrases on iPad, if we rotate the device from Portrait to Landscape, right and left arrows are not warping properly (Screen Recording 2).
Steps to Reproduce:
Expected behavior
Now the arrows are enabled. Using the right arrow I can navigate to page 2 and then again to wrap around back to page 1. It is expected that you can do the same with the left arrow. To demonstrate: 1
->
2->
1 and conversely 1<-
2<-
1Actual behavior
Now the arrows are enabled but, using the right arrow to navigate, once you get to page 2 you cannot wrap around back to page 1. It is the same errant behavior with the left arrow.
Screen Recording 1
Rotating_editPhrasesScreen_paginationDoesNotWrap.mp4
Device Information
Screen Recording 2
MainScreenMySayingsPagination.mov
Device Information
The text was updated successfully, but these errors were encountered: