Skip to content

Commit

Permalink
Merge pull request #1399 from Levi-Moreira/pagerFlingIssueFix
Browse files Browse the repository at this point in the history
[Pager] Nested Scrolling list offset issue
  • Loading branch information
andkulikov committed Nov 16, 2022
2 parents 7a293b3 + 75951b3 commit 63a63f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -92,7 +92,7 @@ class HorizontalPagerScrollingContentTest {

// Perform a scroll in the same direction again
rule.onNodeWithTag(TestTag)
.swipeAcrossCenterWithVelocity(velocityPerSec = 2_000.dp, distancePercentageX = -0.5f)
.swipeAcrossCenterWithVelocity(velocityPerSec = 2_000.dp, distancePercentageX = -0.6f)

// Wait for the flings to end
rule.waitForIdle()
Expand Down
Expand Up @@ -91,7 +91,7 @@ class VerticalPagerScrollingContentTest {

// Perform a scroll in the same direction again
rule.onNodeWithTag(TestTag)
.swipeAcrossCenterWithVelocity(velocityPerSec = 2_000.dp, distancePercentageY = -0.5f)
.swipeAcrossCenterWithVelocity(velocityPerSec = 2_000.dp, distancePercentageY = -0.6f)

// Wait for the flings to end
rule.waitForIdle()
Expand Down

0 comments on commit 63a63f7

Please sign in to comment.