Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Unsupported pseudo class or element: view-transition-old #453

Closed
sprout2000 opened this issue Mar 29, 2023 · 1 comment
Closed

Comments

@sprout2000
Copy link

sprout2000 commented Mar 29, 2023

🙋 feature request

Would you please support the new View Transitions API?

🤔 Expected Behavior

Prefer not to be warned.

😯 Current Behavior

@parcel/transformer-css: Unsupported pseudo class or element: view-transition-old

  /Users/foo/Downloads/react-leaflet-image/demo/App.css:26:23
    25 | 
  > 26 | ::view-transition-old(root),
  >    |                       ^
    27 | ::view-transition-new(root) {
    28 |   animation-duration: 2s;


@parcel/transformer-css: Unsupported pseudo class or element: view-transition-new

  /Users/foo/Downloads/react-leaflet-image/demo/App.css:27:23
    26 | ::view-transition-old(root),
  > 27 | ::view-transition-new(root) {
  >    |                       ^
    28 |   animation-duration: 2s;
    29 | }

✨ Built in 474ms

💁 Possible Solution

Unfortunately, I don't know.

🔦 Context

I just get a warning and have no trouble in developer mode or product builds.

💻 Examples

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 2s;
}
@mischnic mischnic transferred this issue from parcel-bundler/parcel Mar 29, 2023
@devongovett
Copy link
Member

Merging this issue with #443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants