Skip to content

Commit 3ee86e4

Browse files
committed
calling the PostCSS plugin with the in-place option requires useTypesPolyfill = 'always'
1 parent a2a0de4 commit 3ee86e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/content/docs/tools/utensil-drawer.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,8 @@ Setting `useTypesPolyfill: "auto"` enables the polyfill in browsers that do supp
598598

599599
In your stylesheets, you can have your `:active-view-transition-type()` and `:active-view-transition` selectors automatically be rewritten to checks for the inserted classes by using the Bag's [postcss-active-view-transition-type](#the-postcss-active-view-transition-type-postcss-plugin) PostCSS plugin.
600600

601+
If you use the PostCSS plugin and run it with the `in-place` option, you must set the `useTypesPolyfill` option to `always`.
602+
601603
If you prefer not to use this polyfill, you can also [apply this pattern manually](https://events-3bg.pages.dev/jotter/in-all-major-browsers/#view-transition-types).
602604

603605
### catchErrors

0 commit comments

Comments
 (0)