Skip to content

Commit 9f29108

Browse files
committed
remove delay from sx
1 parent 1ce1028 commit 9f29108

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/react/src/Dialog/Dialog.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,14 +271,14 @@ const StyledDialog = toggleStyledComponent(
271271
opacity: 1;
272272
273273
@media screen and (prefers-reduced-motion: no-preference) {
274-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
274+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0ms 1 normal none running;
275275
}
276276
277277
&[data-position-regular='center'] {
278278
border-radius: var(--borderRadius-large, 0.75rem);
279279
280280
@media screen and (prefers-reduced-motion: no-preference) {
281-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
281+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0ms 1 normal none running;
282282
}
283283
}
284284
@@ -290,7 +290,7 @@ const StyledDialog = toggleStyledComponent(
290290
border-bottom-left-radius: 0;
291291
292292
@media screen and (prefers-reduced-motion: no-preference) {
293-
animation: Overlay--motion-slideInRight 0.25s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
293+
animation: Overlay--motion-slideInRight 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0ms 1 normal none running;
294294
}
295295
}
296296
@@ -323,7 +323,7 @@ const StyledDialog = toggleStyledComponent(
323323
border-bottom-left-radius: 0;
324324
325325
@media screen and (prefers-reduced-motion: no-preference) {
326-
animation: Overlay--motion-slideUp 0.25s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
326+
animation: Overlay--motion-slideUp 0.25s cubic-bezier(0.33, 1, 0.68, 1) 0ms 1 normal none running;
327327
}
328328
}
329329
@@ -336,7 +336,7 @@ const StyledDialog = toggleStyledComponent(
336336
flex-grow: 1;
337337
338338
@media screen and (prefers-reduced-motion: no-preference) {
339-
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 1ms 1 normal none running;
339+
animation: Overlay--motion-scaleFade 0.2s cubic-bezier(0.33, 1, 0.68, 1) 0ms 1 normal none running;
340340
}
341341
}
342342
}

0 commit comments

Comments
 (0)