Skip to content

[bug]: Theme toggler is now broken because of Chrome update #989

Description

@jimfaster

Describe the bug

The location of the center of the wipe effect is broken on the first instance. See screenshot.
Firefox doesn't have this problem. It's chrome, and it's very recent. Probably less than a week old.

Image

Affected component/components

Theme toggler

How to reproduce

go here: https://magicui.design/docs/components/animated-theme-toggler

click the button to switch themes. The first wipe is now broken. the subsequent ones are fine. You need to refresh the page to get that broken one each time.

Codesandbox/StackBlitz link

No response

Logs

System Info

chrome

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions