Skip to content

Commit

Permalink
ui v2: disable transitions (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhochman authored and dschaller committed Nov 30, 2020
1 parent 15ef73c commit 2983d77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/packages/core/src/AppProvider/themes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ const lightPalette = (): ClutchPalette => {
const lightTheme = () => {
return createMuiTheme({
palette: lightPalette(),
transitions: {
// https://material-ui.com/getting-started/faq/#how-can-i-disable-transitions-globally
create: () => "none"
},
props: {
MuiButtonBase: {
// https://material-ui.com/getting-started/faq/#how-can-i-disable-the-ripple-effect-globally
Expand Down

0 comments on commit 2983d77

Please sign in to comment.