-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Set the color by an HSL string #50
Comments
Hi @obscuredetour, thank you for the bug report! I can confirm this is an issue on my end too. My guess is that the Also thanks for the kind words! I'm happy to hear you chose iro.js for your app. Sorry about the awkward bug. :P |
Ahah, seems like I think I'm also going to start implementing code tests to make sure something like that doesn't end up in the library again. Sorry for the trouble! By the way, I'm currently working on the next major release of iro.js. You're welcome to join the v4 discussion thread if you have any feature suggestions or other feedback after using the library in your project. :) |
Hey @obscuredetour! I finally got around to making the final changes on v4 and pushed it into production, the new documentation is live on https://iro.js.org now too :) |
Hey @jaames,
First of all let me say that iro.js is excellent! As you know I am using it in my pwa Color Deck.
I found a bug when setting the color using an HSL string. It causes iro.js to crash, with only a reload fixing it. This can be recreated in the iro.js demo (as shown below). Open the Console and type
colorPicker.color.hslString = 'hsl(182, 35%, 65%)'
.I did notice that this extends to parsing an HSL string with the
iro.Color.parseHslStr
method as well. It returns 'parsed is null'. Perhaps, the two are related?The text was updated successfully, but these errors were encountered: