Skip to content

CSS pulse animation in ol-ext collides with Tailwind default animation class #1168

@courdek

Description

@courdek

In a project where OL is being used along with Tailwind (v3), we noticed that our skeleton animations mysteriously stopped working. Eventually we discovered that ol-ext was loading a CSS file which incidentally redefined the pulse keyframes animation. Since neither tailwind or ol-ext keyframes definitions were prefixed, whichever one loads later takes precedence.

This could be fixed from either end, but it would be a breaking change at tailwind. It can also be solved with patch-package, or redefining the tailwind animation and using that instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions