Skip to content

Style Autoprefixer broken for display: flex #382

@prakashgurung-lab49

Description

@prakashgurung-lab49

Steps to reproduce the behavior:

<Carousel
     views={images}
     styles={{
         view: base => ({
             ...base,
             display: 'flex',
        })
    }}
/>

TLDR;
To fix, add space after flex to fix the issue but no prefix is added.
i.e display: 'flex '

Environment:
[email protected]
[email protected]

Expected style behavior:

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

Or

    display: flex;

Actual style behavior:

    display: -webkit-box,-moz-box,-ms-flexbox,-webkit-flex,flex;

invalid style

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions