mui / material-ui-pickers

Date & Time pickers for Material UI (support from v1 to v4)
https://github.com/mui/material-ui-pickers/issues/2157
MIT License
2.33k stars 834 forks source link

Cannot disable transition animation #2139

Closed MatthieuCoelho closed 3 years ago

MatthieuCoelho commented 3 years ago

Hi, It seems like there is no way to disable animation in Calendar component. Working on a view with multiples Calendar create massive delay.

Current Behavior 😯

Can't disable animation when year change

Expected Behavior 🤔

Have a prop to disable animation.

Tech Version
@material-ui/core v4.11.0
@material-ui/pickers v3.2.10
oliviertassinari commented 3 years ago

@MatthieuCoelho Did you try with @material-ui/pickers@4.0.0-alpha? We do no longer support v3

MatthieuCoelho commented 3 years ago

@oliviertassinari Unfortunately I can't use the alpha

However as a workaround I dismount and remount (using new key on date change) the component to remove the transition.