Skip to content

Gallery, App bar: Should snap into place at a threshold, shouldn't be left in arbitrary height #5099

Closed

Description

@sethladd

Open the Gallery, and slowly scroll up, shrinking the app bar. Pick up your finger when the text in the app bar is very close to the top.

Expected: the app bar snaps into place:

screen shot 2016-07-27 at 1 36 50 pm

Actual: app bar can be left in any position:

screen shot 2016-07-27 at 1 36 56 pm

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Jul 27, 2016
  2. modified the milestone: on Sep 12, 2016
  3. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Sep 12, 2016
  4. modified the milestones: 2: Make Early Adopters happy, on Feb 2, 2017
  5. sethladd commented on Mar 17, 2017

    @sethladd
    ContributorAuthor

    Confirmed this is still happening, on a Nexus 5, with a release build from today.

  6. modified the milestones: , 2: Make Early Adopters happy on Mar 17, 2017
  7. HansMuller commented on Mar 28, 2017

    @HansMuller
    Contributor

    I don't think this is a bug, at least not as stated. Likewise for #1723 which seems to cover the same issue.

    The scrolling examples in the material spec, https://material.io/guidelines/patterns/scrolling-techniques.html#scrolling-techniques-behavior, might imply that snapping should occur for big flexible pinned appbars. I have not been able to find an example of an Google Android app that does this and I think having the content that you're dragging jump away from you (over a significant distance) would be disconcerting. Most examples of floating appbars in our app's -do- snap in and out of view. This is at least less disconcerting since they're only 56 pixels high.

    Getting floating appbars to snap (the way most native apps do) seems worthwhile.

  8. self-assigned this
    on Mar 28, 2017
  9. Hixie commented on Nov 7, 2017

    @Hixie
    Contributor

    We do this for floating app bars now. Closing since as @HansMuller says it's not clear it should happen for the other kinds of app bars.

  10. added a commit that references this issue on May 14, 2018
  11. github-actions commented on Sep 4, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  12. locked as resolved and limited conversation to collaborators on Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.frameworkflutter/packages/flutter repository. See also f: labels.from: reviewReported in the press

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions