:active pseudo-class cannot be styled on buttons-like divs inside vaadin-text-field #7769
Labels
bug
Something isn't working
Impact: Low
needs research
More information needed to estimate
Severity: Minor
vaadin-combo-box
vaadin-text-field
Description
The :active pseudo-class can be used on divs and it works well when trying to style it by doing the following:
It works well on Chrome but it is not working correctly on Firefox (both latests versions).
After discussing this internally it might be possible that preventDefault could be causing this.
Expected outcome
It should be possible to style the :active pseudo-class of inner button-like divs of text fields both on Chrome and Firefox.
Minimal reproducible example
Here's a way of reproducing it: https://studio.webcomponents.dev/edit/gu3kPE0FvnHYEstx2Zih/www/index.html?p=website
If you open this example on chrome it will style the button with green when pressing it, but it will not work on Firefox.
Steps to reproduce
Environment
Vaadin version(s): Latest
OS: Any
Browsers
Firefox
The text was updated successfully, but these errors were encountered: