Closed
Description
Describe the bug
On the ionic color generator page, the corresponding '-shade' and '-tint' sub-variables don't update when replacing a hexcode in the main variable input fields with a value missing the hashtag.
To reproduce
Steps to reproduce the behavior:
- Go to 'https://ionicframework.com/docs/theming/color-generator'
- Click on the arrow to the right of any color input field such as 'Primary' to see the sub-variables
- Select the current value (click on the input field and press CTRL+A) including the hashtag
- Paste a hex code value missing the hashtag e.g. ff0000
- The site auto-inserts the hashtag at the beginning, but doesn't auto-update the colors and values of the sub-variables, until you type in another character. It also doesn't update if it's not in focus anymore.
Expected behavior
After the site prepends a hashtag to the value, it's expected to auto-update the sub-variables.
Browser and OS
- OS: Ubuntu 20.04 LTS
- Browser: Firefox, Google Chrome
- Version: 77.0.1, 83.0.4103.116