Skip to content

Commit f3fd555

Browse files
authored
test: disable CSS transition on input-container (#9290)
1 parent f2d0b48 commit f3fd555

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
2+
3+
registerStyles(
4+
'vaadin-input-container',
5+
css`
6+
/* Disable animation */
7+
:host {
8+
&,
9+
&::before,
10+
&::after {
11+
animation: none !important;
12+
transition: none !important;
13+
}
14+
}
15+
`,
16+
);

packages/input-container/test/visual/lumo/input-container.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { fixtureSync } from '@vaadin/testing-helpers/dist/fixture.js';
22
import { visualDiff } from '@web/test-runner-visual-regression';
3+
import '../common.js';
34
import '@vaadin/icon/vaadin-icon.js';
45
import '@vaadin/vaadin-lumo-styles/test/autoload.js';
56
import '@vaadin/vaadin-lumo-styles/vaadin-iconset.js';

0 commit comments

Comments
 (0)