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
The problem is in the order of including the styles. In normal case, the user-defined modules are loaded after the default styles. But because of extending grid, grid-pro includes styles in this order:
include lumo styles for grid
include foo for grid
include lumo styles for grid-pro
try to include foo for grid-pro, notice that it already exists and skip it (logic in _includeStyle function)
So the lumo styles for grid-pro are last actually included, and they will override foo styles.
web-padawan
changed the title
Theme module for both vaadin-grid and vaadin-grid-pro doesn't apply to both
[themable-mixin] Theme module for both vaadin-grid and vaadin-grid-pro doesn't apply to both
May 22, 2021
Expected:
<vaadin-grid>
and<vaadin-grid-pro>
both have red cellsActual outcome: only
<vaadin-grid>
elements have red cellsBoth elements have
<style include="foo"></style>
inside their shadow roots.Discovered in: https://vaadin.com/forum/thread/17885978/theme-issue-for-gridpro-and-grid
The text was updated successfully, but these errors were encountered: