Skip to content

Missing style while using react Loadable #85

@afelipelc

Description

@afelipelc

I'm using Select2 in my ProfileForm component.
When ProfileForm is loading with react-loadable like
const ProfileForm = Loadable({ loader: () => import('containers/ProfileForm'), loading: MyLoadingComponent });

Select2 lose style
image

My temporary solution has been copy the css file and import it into my app.js
import './select2.min.css';

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