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

hydration not working in Ms Edge or IE11 #8

Open
fatlinesofcode opened this issue Nov 20, 2019 · 3 comments
Open

hydration not working in Ms Edge or IE11 #8

fatlinesofcode opened this issue Nov 20, 2019 · 3 comments

Comments

@fatlinesofcode
Copy link

fatlinesofcode commented Nov 20, 2019

...i guess because it uses display:contents which is not supported in these browsers

I tried a css hack

div[style*="contents"] {
        display: block !important;
       }

but the hydration still failed.

@fatlinesofcode fatlinesofcode changed the title not working in Ms Edge or IE11 hydration not working in Ms Edge or IE11 Nov 20, 2019
@hadeeb
Copy link
Owner

hadeeb commented Nov 20, 2019

You can override default styles by just passing a style prop.

@fatlinesofcode
Copy link
Author

thanks @hadeeb overwriting the style does work.

However I'm still having uses with ssrOnly in Edge. The SSR load looks good, then the client load takes takes place seems to detach the Css Classes from the . WhenIdle works fine. ssrOnly works fine in Chrome and safari.
I'm using Next JS and Styled Components.

@Yimiprod
Copy link

Yimiprod commented Apr 8, 2022

is the props noWrapper could fix it ?

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

3 participants