Skip to content

Commit c242732

Browse files
committed
Add delay back
1 parent c6a5bd9 commit c242732

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/react/src/Dialog/Dialog.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@
119119
}
120120

121121
@media screen and (prefers-reduced-motion: no-preference) {
122-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
122+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
123123
}
124124

125125
&[data-position-regular='center'] {
126126
border-radius: var(--borderRadius-large, var(--borderRadius-large));
127127

128128
@media screen and (prefers-reduced-motion: no-preference) {
129-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
129+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
130130
}
131131
}
132132

@@ -138,7 +138,7 @@
138138
border-bottom-left-radius: 0;
139139

140140
@media screen and (prefers-reduced-motion: no-preference) {
141-
animation: Overlay--motion-slideInRight 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
141+
animation: Overlay--motion-slideInRight 0.25s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
142142
}
143143
}
144144

@@ -150,7 +150,7 @@
150150
border-bottom-right-radius: 0;
151151

152152
@media screen and (prefers-reduced-motion: no-preference) {
153-
animation: Overlay--motion-slideInLeft 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
153+
animation: Overlay--motion-slideInLeft 0.25s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
154154
}
155155
}
156156

@@ -193,7 +193,7 @@
193193
border-bottom-left-radius: 0;
194194

195195
@media screen and (prefers-reduced-motion: no-preference) {
196-
animation: Overlay--motion-slideUp 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
196+
animation: Overlay--motion-slideUp 0.25s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
197197
}
198198
}
199199

@@ -206,7 +206,7 @@
206206
flex-grow: 1;
207207

208208
@media screen and (prefers-reduced-motion: no-preference) {
209-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running;
209+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
210210
}
211211
}
212212
}

0 commit comments

Comments
 (0)