-
-
Notifications
You must be signed in to change notification settings - Fork 259
[Bug]: CSS rules not keeping order #6462
Copy link
Copy link
Closed
Labels
Description
Version
System:
OS: Windows 11 10.0.26200
CPU: (24) x64 AMD Ryzen 9 3900XT 12-Core Processor
Memory: 9.40 GB / 31.92 GB
Browsers:
Chrome: 141.0.7390.123
Edge: Chromium (140.0.3485.54)
Firefox: 143.0.1 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.1882
npmPackages:
@rsbuild/core: ^1.5.14 => 1.5.17Details
CSS rules are sorted in some order and this causes bugs.
Expected:
.content {
display: grid;
gap: var(--size-md);
background-color: darkblue;
transition:
ease opacity 0.3s,
ease display 0.3s,
ease scale 0.3s,
ease translate 0.3s,
ease transition 0.3s;
transition-behavior: allow-discrete;
}Actual:
.content {
gap: var(--size-md);
transition-behavior: allow-discrete;
background-color: #00008b;
transition: opacity .3s, display .3s, scale .3s, translate .3s, transition .3s;
display: grid;
}Explanation: transition overlaps transition-behavior
Is there some way to disable this?
Reproduce link
in description
Reproduce Steps
- npm install
- npm run dev
In some situation this reproduces in dev, in some after build.
Reactions are currently unavailable