Skip to content

Commit ef8bb03

Browse files
authored
test: disable animation on date-picker infinite scrollers (#9150)
1 parent ab41955 commit ef8bb03

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/date-picker/test/visual/common.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ registerStyles(
2727
`,
2828
);
2929

30+
registerStyles(
31+
'vaadin-date-picker-overlay-content',
32+
css`
33+
/* Disable animation */
34+
::slotted([slot='years']),
35+
::slotted([slot='months']) {
36+
animation: none !important;
37+
transition: none !important;
38+
}
39+
`,
40+
);
41+
3042
/* Stop focused day animation */
3143
registerStyles(
3244
'vaadin-month-calendar',

0 commit comments

Comments
 (0)