Skip to content

bottom-sheet: option to disable animations #18340

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

Open
pacocom opened this issue Jan 30, 2020 · 9 comments
Open

bottom-sheet: option to disable animations #18340

pacocom opened this issue Jan 30, 2020 · 9 comments
Labels
area: material/bottom-sheet feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions

Comments

@pacocom
Copy link

pacocom commented Jan 30, 2020

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

  • Angular: 8.2.12
  • CDK/Material: 8.2.3
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
@pacocom pacocom added the troubleshooting This issue is not reporting an issue, but just asking for help label Jan 30, 2020
@mmalerba mmalerba added the needs triage This issue needs to be triaged by the team label May 20, 2020
@devversion
Copy link
Member

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

@devversion devversion added area: material/bottom-sheet and removed needs triage This issue needs to be triaged by the team labels May 26, 2020
@pacocom
Copy link
Author

pacocom commented May 26, 2020

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

@devversion
Copy link
Member

Sorry, that wasn't clear from the bare issue description. We can probably support this similar to #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.

@devversion devversion added feature This issue represents a new feature or feature request rather than a bug or bug fix and removed troubleshooting This issue is not reporting an issue, but just asking for help labels May 26, 2020
@devversion devversion changed the title How to disable animation Angular Material --> mat-bottom-sheet bottom-sheet: option to disable animations May 26, 2020
@devversion devversion added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label May 26, 2020
@devversion devversion added P4 A relatively minor issue that is not relevant to core functions P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent P4 A relatively minor issue that is not relevant to core functions labels May 27, 2020
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 22, 2022

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
Copy link
Contributor

angular-robot bot commented Mar 14, 2022

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
Copy link

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

@gtteamamxx
Copy link

gtteamamxx commented Mar 29, 2024

@f5

@nicetomytyuk
Copy link

Any update on this?

@fourpanels-gmbh
Copy link

Would be great if we could also configure the speed of the transitions!!!
Closing is for my opinion too slow at the moment, users are complaining a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/bottom-sheet feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

8 participants