You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that CSS using ::part() selector should be placed in global file. When placing styles in the components folder the corresponding CSS gets injected in the component's shadow root - see docs:
Stylesheets placed in a sub-folder called components, inside the application theme folder, and named according to the root HTML element of components, are automatically injected into the Shadow DOM of those components.
So, consider moving this style outside of components folder and then it should be working correctly.
Description
Lack of cross-browser compatibility when initializing the property:
css file place:
themes/{module-name}/components/vaadin-split-layout.css
Works on:
Firefox 134.0.2
Doesn't work on:
Microsoft Edge 132.0.2957.140
Google Chrome 132.0.6834.84
Vaadin version: 24.3.3
Expected outcome
Style
background: linear-gradient(to right, LightSkyBlue, MediumSlateBlue) !important;
work in all browsers, because it is guaranteed by the browser style portability contract https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradientMinimal reproducible example
Create a SpritLayout in main as java project and add css file
vaadin-split-layout.css
:vaadin-split-layout.css
Steps to reproduce
Environment
Vaadin version(s): 24.3.3
OS: windows 10 19045.4780
Browsers
Chrome
The text was updated successfully, but these errors were encountered: