Skip to content

Tooltips specification and behaviors #4182

Description

@sethladd

From a design review:

  • After the tooltip is triggered (using a 150ms fade in with the material deceleration curve), keep tooltip displayed for as long as the user is holding the tap.
  • After the user lifts the tap, keep the tooltip visible for 1.5 seconds
  • After 1.5s, fade out the tooltip at 150ms, using the material acceleration curve.
  • Condition: if the user lifts the tap and interacts with the UI before the 1.5s timer has been fulfilled, the tooltip would dismiss immediately upon that interaction be fading out over 150ms using the material acceleration curve. That way the tooltip isn't in the way when they're trying to do something else.
  • Condition: Lifting and then tapping the tooltip during this 1.5s delay will simply dismiss the tooltip using the same 150ms animation. Tapping anywhere else on the screen will simultaneously dismiss the tooltip AND trigger the action that was tapped.

Activity

  1. added
    p: material_uimaterial_ui package in flutter/packages
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on May 25, 2016
  2. added this to the Gallery App milestone on May 25, 2016
  3. self-assigned this
    on May 27, 2016
  4. abarth commented on May 27, 2016

    @abarth
    Contributor

    We need to add a global route to the PointerRouter to implement the first condition. @Hixie thinks we should dispatch to these global routes after dispatching to the per-id pointer routes.

  5. added a commit that references this issue on May 31, 2016
    fae13ec
  6. added a commit that references this issue on May 31, 2016
    b8fb46e
  7. github-actions commented on Sep 6, 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.

  8. locked as resolved and limited conversation to collaborators on Sep 6, 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.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions