diff --git a/packages/primevue/src/toggleswitch/style/ToggleSwitchStyle.js b/packages/primevue/src/toggleswitch/style/ToggleSwitchStyle.js index ede3c4be9..dc1c8a854 100644 --- a/packages/primevue/src/toggleswitch/style/ToggleSwitchStyle.js +++ b/packages/primevue/src/toggleswitch/style/ToggleSwitchStyle.js @@ -53,7 +53,7 @@ const theme = ({ dt }) => ` left: ${dt('toggleswitch.gap')}; margin-top: calc(-1 * calc(${dt('toggleswitch.handle.size')} / 2)); border-radius: ${dt('toggleswitch.handle.border.radius')}; - transition: background ${dt('toggleswitch.transition.duration')}, color ${dt('toggleswitch.transition.duration')}, left ${dt('toggleswitch.slide.duration')}; + transition: background ${dt('toggleswitch.transition.duration')}, color ${dt('toggleswitch.transition.duration')}, left ${dt('toggleswitch.slide.duration')}, box-shadow ${dt('toggleswitch.slide.duration')}; } .p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-slider { diff --git a/packages/themes/src/presets/material/datatable/index.js b/packages/themes/src/presets/material/datatable/index.js index 7ce9afa02..933a4154b 100644 --- a/packages/themes/src/presets/material/datatable/index.js +++ b/packages/themes/src/presets/material/datatable/index.js @@ -165,5 +165,11 @@ export default { selectedBorderColor: '{primary.900}' } } - } + }, + style: ({ dt }) => ` +.p-datatable-header-cell, +.p-datatable-tbody > tr { + transition: none; +} +` }; diff --git a/packages/themes/src/presets/material/treetable/index.js b/packages/themes/src/presets/material/treetable/index.js index 63de6e6ab..c671976e4 100644 --- a/packages/themes/src/presets/material/treetable/index.js +++ b/packages/themes/src/presets/material/treetable/index.js @@ -119,5 +119,11 @@ export default { selectedBorderColor: '{primary.900}' } } - } + }, + style: ({ dt }) => ` +.p-treetable-header-cell, +.p-treetable-tbody > tr { + transition: none; +} +` };