- Issue created by @rodrigoaguilera
I had a base theme with a "sm" breakpoint and then the child theme with another "sm" breakpoint. In certain circumstances such as with dblog module active the base theme had its BASETHEME.breakpoints.yml processed first getting the group BASETHEME. In this situation, when a responsive image was displayed on the child theme, only the the default image was displayed because the responsive image style was configured to use "CHILDTHEME" as its group.
When the CHILDTHEME get its breakpoints.yml processed first the responsive images work as expected. The base theme is never used to display anything, is just a parent for themes that share stuff.
I think is a race condition but maybe playing with the weights of the themes the base theme can be forced to have its breakpoints to be processed before the child theme.
Create two themes with breakpoints that share a name.
Configure an image style using the breakpoint group from one of the themes.
Display that image style and check if it has all of its sources.
I have three possible solutions in mind
I'm more inclined to the last options as we shouldn't encourage for theme developer to have breakpoints that have the same name. They should namespace manually such as NAME_OF_THEME.sm.
Decide what should be the c
orrect behaviour.
None
Depends on the decide solution
Active
11.0 π₯
Last updated