Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing style while using react Loadable #85

Open
afelipelc opened this issue Sep 30, 2018 · 0 comments
Open

Missing style while using react Loadable #85

afelipelc opened this issue Sep 30, 2018 · 0 comments

Comments

@afelipelc
Copy link

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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant