Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

styleModifiers not reset? #15

@renestalder

Description

@renestalder

I am using Pattern Lab Node v2.11.0 on Mac, using the webpack configuration.

Expected Behavior

When I include a pattern twice with different style modifiers, the patterns should be rendered with those style modifier differences.

Actual Behavior

When I include a pattern twice with different style modifiers, the pattern that is rendered first will overwrite all styleModifiers of the second pattern that is rendered.

Steps to Reproduce

Difficult to reproduce. What I have is a component called skew I call like this:

{{> components-skew }}

In a very different place, I call it like this.

{{> components-skew:inx-card__image-title|inx-card-skew--alpha|inx-card-skew--end(image: false) }}

As soon I add the second include, the first include will render with the exact same styleModifiers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions