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

Editing colors multiple times breaks unless you reload the page #3

Open
ProfDoof opened this issue Sep 29, 2023 · 0 comments
Open

Editing colors multiple times breaks unless you reload the page #3

ProfDoof opened this issue Sep 29, 2023 · 0 comments

Comments

@ProfDoof
Copy link

Hi! I've been using your tool while I have been developing a theme for helix. However, if you try to edit a color once and then edit any color again it does not work the second time or after unless you reload the page. This isn't a huge inconvenience but if you can fix it, it would be appreciated. I would fix it myself but I'm struggling a bit to test the site locally.

With that being said, I suspect that the issue is here:

I suspect you need to add a bind directive to the colors so that the changes that are made to the colors array in the Chart propagate to the data colors array. However, I'm not sure. And I may be overthinking the solution to it.

Note: While I was trying to get it working locally on my machine I did find that the weird combination of ES6 and CJS you have between the 3.0.7 version or something caused things to break somehow. Not really sure. So you'll need to update this to your 4.0.0 version I suspect.

"color-contrast-table-svelte": "^3.0.7",

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