angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.22k stars 6.69k forks source link

bottom-sheet: option to disable animations #18340

Open pacocom opened 4 years ago

pacocom commented 4 years ago

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

devversion commented 4 years ago

You can disable the animations by setting the NoopAnimationsModule instead of BrowserAnimationsModule.

pacocom commented 4 years ago

I only want to disable mat-bottom-sheet so I want the others animations.

devversion commented 4 years ago

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.

angular-robot[bot] commented 2 years ago

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.

angular-robot[bot] commented 2 years ago

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.

ChristopherSnay commented 1 year ago

The animation of the bottom sheet is just way too slow for my liking. It's a shame this was not prioritized.

gtteamamxx commented 3 months ago

@f5

nicetomytyuk commented 2 weeks ago

Any update on this?