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

Style re-rendering error #30

Open
irtaza9 opened this issue Nov 20, 2022 · 1 comment
Open

Style re-rendering error #30

irtaza9 opened this issue Nov 20, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@irtaza9
Copy link

irtaza9 commented Nov 20, 2022

Style re-rendering error
PFA

image

Code

 <div className="sidebararea">
                <Marquee duration={10000} background="#fafafa" height='100%' axis='Y' reverse>
                    {images.map((image) => (
                        <img src={image} alt="picsum" />
                    ))}
                </Marquee>
            </div>
@irtaza9 irtaza9 added the bug Something isn't working label Nov 20, 2022
@3pleFly
Copy link

3pleFly commented Nov 5, 2023

I am using nextjs 13 and I have this exact issue too.
For me it is saying the problem is with the 'animate' property,

Updating a style property during rerender (animation) when a conflicting property is set (animationPlayState) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants