Closed felamaslen closed 2 months ago
Hi @felamaslen,
I'll take a look at it, the fix will be like the first example that you posted, the plugin doesn't use the where
pseudo-class to apply the prefixes.
Meanwhile you could use the prefixSelectorTransformer option to fix the issue:
Hi @felamaslen,
In version 5.2.0 of the library there is support for view-transition
pseudo-classes.
Regards
When using the view transition API, we define rules like so
This rule has to be applied under
html
. Using RTL plugin overwrites this rule (insertingdir:rtl
anddir:ltr
), meaning the rule no longer applies tohtml
.One workaround is to do this:
Another workaround is to simply ignore the plugin:
However, ideally the plugins should handle this case automatically.
Steps to reproduce
With the following input:
Expected output:
or potentially
Actual output:
Playground link