Skip to content

Conversation

@0ptim
Copy link
Contributor

@0ptim 0ptim commented Feb 20, 2024

If someone uses UseCustomLayout = true, animations won't be applied.

Because the default animation is ModalAnimationType.FadeInOut, the delay for the animation will be applied also for custom layouts, which leads to a very bad 400ms delay where nothing happens after closing a dialog.

@0ptim
Copy link
Contributor Author

0ptim commented Feb 20, 2024

Forgot to mention: Maybe it's better to just set the animation default to None for custom layouts automatically. But I'm not sure how to best handle this.

@byOsta byOsta mentioned this pull request Feb 20, 2024
@chrissainty chrissainty added the Bug Something isn't working label Feb 20, 2024
Copy link
Member

@chrissainty chrissainty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @0ptim

@tavanuka
Copy link

@chrissainty Is there a reason this PR is hanging?

@tavanuka
Copy link

Workflow action requires approval to be executed.

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

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants