We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The attribute value deserializer is incorrectly handling values like this:
value = "10, 20, 30"
parseFloat(value) == 10 and this is not isNaN so it's converted to a number.
Perhaps we could additionally check if parseFloat(value) == value. That check will pass because '10.2' == 10.2
The text was updated successfully, but these errors were encountered:
Same issue with an attribute value like this "48px"
Sorry, something went wrong.
sjmiles
No branches or pull requests
The attribute value deserializer is incorrectly handling values like this:
parseFloat(value) == 10 and this is not isNaN so it's converted to a number.
Perhaps we could additionally check if parseFloat(value) == value. That check will pass because '10.2' == 10.2
The text was updated successfully, but these errors were encountered: