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

CSS animation not playing in window mode #15

Open
DiZeroX opened this issue Jun 20, 2021 · 0 comments
Open

CSS animation not playing in window mode #15

DiZeroX opened this issue Jun 20, 2021 · 0 comments

Comments

@DiZeroX
Copy link

DiZeroX commented Jun 20, 2021

I'm using create-react-app and it has a spinning logo as the demo page.

Expected Behavior
CSS animation causes image to rotate in window mode.

Actual Behavior
Image doesn't rotate while in window mode. It rotates correctly when in browser mode.

Steps to Reproduce the Problem

  1. Add spinning CSS animation to image
  2. Run neu run
  3. Check image for animation
.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

<img src={logo} className="App-logo" alt="logo" />

Specifications

  • NeutralinoJs Version: 2.3.0
  • NeutralinoJs CLI version: 5.0.0
  • Platform: Windows 10
@shalithasuranga shalithasuranga transferred this issue from neutralinojs/neutralinojs Dec 14, 2021
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

1 participant