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

Increase test coverage for getOffsetToReveal and SliverAppBars #59181

Open
Piinks opened this issue Jun 10, 2020 · 1 comment
Open

Increase test coverage for getOffsetToReveal and SliverAppBars #59181

Piinks opened this issue Jun 10, 2020 · 1 comment
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) a: tests "flutter test", flutter_test, or one of our tests f: focus Focus traversal, gaining or losing focus f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team

Comments

@Piinks
Copy link
Contributor

Piinks commented Jun 10, 2020

SliverGeometry.maxScrollObstructionExtent is used to correct a11y focus navigation when an app bar may be overlapping a portion of scrollable area. This makes it possible to go from the app bar to the next visible sliver after the overlap, rather than traversing the slivers under the app bar.

Untitled drawing

The tests for this cover pinned SliverAppBars in a CustomScrollView (see #11878 for original tests), but we should have coverage for floating and floating-pinned SliverAppBars as well. Plus, all three in a NestedScrollView.

Related PRs:
#11878 - added maxScrollObstructionExtent to floating, pinned and floating-pinned app bars, integrating with getOffsetToReveal
#39263 - changes maxScrollObstruction extent for floating app bars
#57707 - changes maxScrollObstructionExtent for floating-pinned app bars

@Piinks Piinks added framework flutter/packages/flutter repository. See also f: labels. a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) f: scrolling Viewports, list views, slivers, etc. f: focus Focus traversal, gaining or losing focus labels Jun 10, 2020
@Piinks
Copy link
Contributor Author

Piinks commented Jun 10, 2020

fyi @goderbauer

@goderbauer goderbauer added the P2 Important issues not at the top of the work list label Jun 10, 2020
@TahaTesser TahaTesser added passed first triage a: tests "flutter test", flutter_test, or one of our tests labels Sep 18, 2020
@flutter-triage-bot flutter-triage-bot bot added team-framework Owned by Framework team triaged-framework Triaged by Framework team labels Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) a: tests "flutter test", flutter_test, or one of our tests f: focus Focus traversal, gaining or losing focus f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-framework Owned by Framework team triaged-framework Triaged by Framework team
Projects
None yet
Development

No branches or pull requests

4 participants