Colt / react-colors

Clone of Flat UI Colors, made for my Modern React Bootcamp Course
207 stars 234 forks source link

White lines appearing between color boxes, after adding a palette #9

Open iainworkman opened 3 years ago

iainworkman commented 3 years ago

This issue appears after completing lesson 213, but only under specific circumstances. The color boxes display correctly when the app initially loads - but once a new Palette is added white lines appear between color boxes in all contexts I can find:

Screen Shot 2021-04-23 at 10 08 42 AM Screen Shot 2021-04-23 at 10 08 56 AM Screen Shot 2021-04-23 at 10 09 08 AM

This issue seems particular to two circumstances:

Note: If you pull the version stored here, and run npm install, then you will not see the issue, owing to the frozen dependency versions in the repo. You may encounter this issue if you work through the exercises.

If you are coming to this finding you are experiencing this issue, a workaround is to simply remove the <React.StrictMode> tags from index.js