Skip to content

Marquee breaks in the latest Safari after some time Next.js #346

@ynamite

Description

@ynamite

Thanks for the great Marquee, it's the only package I've found that allows to change the rate/speed dynamically.

Unfortunately the latest version seems to break in Safari on Mac and also on iOS Safari, after a short period of time, and almost immediately on iOS, but only if the container wrapping the Marquee does not have position fixed. If position is fixed, it works. It works fine in Chrome and Firefox regardless of positioning.
Once the issue arises, you can switch the type of positioning in the dev console from absolute to fixed, to see how the issue immediately remedies itself once position is fixed again. As soon as you switch back to absolute, the issue is back. Strange.

This happens in your demo as well, you just have to change position: fixed to position: absolute.

Not sure what the cause is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions