active:bg not working when active:scale used [only when using shortcut]
Author: Beiri22Created Jan 12, 2025Updated Aug 26, 2026
UnoCSS version
latest
Describe the bug
I have a button with class=''bg-gray-200 hover:bg-gray-300 active:bg-blue active:scale-95" that is working as expected. But when putting all those classes into a shortcut, the active color does not show any more. However: when you remove the active:scale it works. So how can active:scale make active:bg not work?
Reproduction
System Info
No response
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Source: unocss/unocss