Skip to content

Style Autoprefixer broken for display: flex #382

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:
npm@6.145
node@v13.14.0

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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