mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
docs: resolve dark mode transition flicker (#22117)
This commit is contained in:
@@ -70,6 +70,7 @@ const beforeChange = () => {
|
||||
{
|
||||
duration: 400,
|
||||
easing: 'ease-in',
|
||||
fill: 'both',
|
||||
pseudoElement: isDark.value
|
||||
? '::view-transition-old(root)'
|
||||
: '::view-transition-new(root)',
|
||||
|
||||
Reference in New Issue
Block a user