Closed geektechniquestudios closed 2 years ago
should be fixed now!
Unfortunately, I just tried upgrading, and the chess board still isn't rendering for me on the latest version, 1.3.2.
Unfortunately, I just tried upgrading, and the chess board still isn't rendering for me on the latest version, 1.3.2.
Did you import the css files?
Check out this CodeSandbox example (its in JS unfortunately), can you tell me what stack you're using? https://codesandbox.io/s/gifted-borg-lgp1po?file=/src/App.js
I wasn't including the css imports by accident. It was working without them in the old release though. Thanks so much for helping me figure that out. It works for me now.
On another note, It seems the color of the squares changed. It's not the same color as lichess chessboards anymore. I don't see a way to control the theme in the config. Sorry if I'm missing something. Is there a way to control the color through React props or any other way?
Thanks for all your help.
honestly no idea lol, it looks like the default styles changed https://github.com/lichess-org/chessground/commits/master/assets/chessground.brown.css here a while ago, I'm investigating too, I'll let you know if I find out,
I upgraded my dependencies earlier and now the chessground chessboard doesn't render. If I touch the chessground dependency, the yarn.lock file updates to have this entry
Even if I try to use an earlier version, like 1.2.3 or 1.2.2, it just bugs on me and doesn't work. So my temporary workaround is to manually edit my lockfile with this
I believe the commit where you remove global CSS or remove
"type": module
from the package json is the problem 887c7b42fcdb9d9409d97a7653c61ef99d1d918b.I'm using yarn 3.2.0 as my package manager.
Thank you for maintaining this repo. I really appreciate your hard work.