Open pacocom opened 4 years ago
You can disable the animations by setting the NoopAnimationsModule
instead of BrowserAnimationsModule
.
I only want to disable mat-bottom-sheet
so I want the others animations.
Sorry, that wasn't clear from the bare issue description. We can probably support this similar to https://github.com/angular/components/pull/13466 by allowing users to configure the duration manually.
Usually, one would be able to use @.disabled
for Angular animations, but since we dynamically create the bottom-sheet this doesn't work. There should be a way to configure it.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
The animation of the bottom sheet is just way too slow for my liking. It's a shame this was not prioritized.
@f5
Any update on this?
What are you trying to do?
How and Where can I change/disable matBottomSheetAnimations???
https://material.angular.io/components/bottom-sheet/api#matBottomSheetAnimations
Thank?
What troubleshooting steps have you tried?
Reproduction
Environment