rebass
rebass copied to clipboard
Button is broken on MacOS
Hi! The issue is when I try to render the <Button />
component in a macbook with MacOS 10.15.
The component is invisible and is not being shown on the screen, and you can find that it's being rendered.
Let me know if I can help, thanks!
I don't know your code, but did you simply put a Button
inside your app?
You need to wrap your code with a ThemeProvider
like in their official example
I don't know your code, but did you simply put a
Button
inside your app? You need to wrap your code with aThemeProvider
like in their official example
I wrapped it in the ThemeProvider
. Just did some tests, and the problem is when you use yarn. If you use npm it works.
Sounds like this might be due to multiple versions of Emotion being installed. You can use yarn list
(or similar) to make sure only one copy is installed
Sounds like this might be due to multiple versions of Emotion being installed. You can use
yarn list
(or similar) to make sure only one copy is installed
Sure! But I had this package installed in another friend's macboook and it was broken too.
I am having the same issue. Using ThemeProvider
as well. Looking at the css you can see that the background-color
is not set to the actual color.
Button is Still broken can anyone help please? variants
on theme.js
also not working