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

Specify transition for FAB #6413

Open
GordonBlahut opened this issue Feb 18, 2020 · 0 comments
Open

Specify transition for FAB #6413

GordonBlahut opened this issue Feb 18, 2020 · 0 comments

Comments

@GordonBlahut
Copy link

Is your feature request related to a problem? Please describe.
I would like to be able to animate FAB actions like this example from Google:
https://storage.googleapis.com/spec-host/mio-staging%2Fmio-components%2F1579302979877%2Fassets%2F1CMssxsx--CjFfG_JIw35cPRhxJldwRWM%2Ffab-toolbar-speeddial-v03.mp4

Describe the solution you'd like
Ability to specify show/hide transitions for QFab just like QMenu. Also the ability for specify QFAbActions' animation origin and possibly animate each QAction slightly progressive delay like the video above.

Describe alternatives you've considered
The ability to disable the animation could also be another solution, as long as we could then wrap QFabActions in custom transitions that could be triggered on QFab show/hide.

Additional context
The default QFab animation is actually pretty close, but once you use expanded QFabActions with labels, it may look nicer (entirely subjective) for them to scale in place instead of from the QFab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant