Skip to content

States with paramater which is not a valid className do not get namespace optimizations #1870

Open
@tomrav

Description

@tomrav

Source:

.root:state(123) {}

Expected:

.s1[class~="o1---state-3-123"] {}

Actual:

.s1[class~="app1169059893---state-23-123"] {}

Implemented in:
https://github.com/wix/stylable/blob/master/packages/optimizer/src/stylable-optimizer.ts#L83

Note to self: when there, fix typos

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected behavior or exceptionoptimizerStylable optimizer related issuespseudo-statePseudo state related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions