✨ Allow maxWidth to support unset
and other keywords
#48
Labels
Type: Feature
A new feature or functionality
unset
and other keywords
#48
Current behavior:
The
maxWidth
property only accepts numbers. I'm trying to use the tooltips to be more dynamic in size to fit the exact width of the text. I'd like to set this property as eithernone
orunset
. When I put those values in, it calculates the value to be eithernonepx
orunsetpx
and the browser removes the min-width and max-width on the tooltip due it being an invalid style property.Desired behavior:
Entering in a non-number value like
none
orunset
would set the min-width and max-width styles tonone
orunset
respectively.The text was updated successfully, but these errors were encountered: