Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🐛 Flyout's close transition duration is different #893

Closed
harlanx opened this issue Jul 21, 2023 · 2 comments
Closed

🐛 Flyout's close transition duration is different #893

harlanx opened this issue Jul 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@harlanx
Copy link

harlanx commented Jul 21, 2023

Describe the bug
When passing a custom duration to transitionDuration in FlyoutContoller.showFlyout, it only gets applied to the animation when opening the flyout.

Screenshots

Duration.zero Duration(seconds: 3)
DurationZero DurationThree
@bdlukaa bdlukaa added the bug Something isn't working label Jul 21, 2023
@harlanx
Copy link
Author

harlanx commented Jul 26, 2023

It might be the reverseTransitionDuration is not set and is using the default value Duration(milliseconds: 300) on the PageRouteBuilder used in the Flyout class.

@bdlukaa
Copy link
Owner

bdlukaa commented Jul 27, 2023

The documentation on both transition duration properties led me to think that I only needed to set one. It is ambiguous.

(love your UI btw)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants