mui-org/material-ui

Disabling animations either per-component or globally #10560

tom-james-watson posted onGitHub

I find the performance really suffers on some mobile devices whenever any animations are happening.

I'd ideally like to be able to disable animations per component, or if not, globally.

Ideally there'd be an option like so:

<ExpansionPanel animate={false}>
    ...
</ExpansionPanel>

As far as I can tell, this is not currently possible.

Firstly - is there a workaround where I can disable animations with css overrides?

Secondly - should this be considered for being added as a feature?

  • I have searched the issues of this repository and believe that this is not a duplicate.

Your Environment

Tech Version
Material-UI 1.0.0-beta.33
React 16.2.0
browser any on low-powered devices

Thanks in advance!


Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities

joshwooding was rewarded by oliviertassinari for mui-org/material-ui# 10560
about 6 years ago
joshwooding submitted an output to  mui-org/ material-ui# 10560
over 6 years ago