Skip to content

[bug]: /docs/components/animated-theme-toggler #866

@Leo-polenord

Description

@Leo-polenord

Describe the bug

The Animated Theme Toggler don't work on firefox (linux)

I'm having this error when clicking on the theme switcher:

document.startViewTransition is not a function

Affected component/components

Animated Theme Toggler

How to reproduce

  1. Start Firefox on Linux
  2. Go to https://magicui.design/docs/components/animated-theme-toggler
  3. Click on the button
  4. Check the console

Codesandbox/StackBlitz link

No response

Logs

Uncaught (in promise) TypeError: document.startViewTransition is not a function
    NextJS 7
5826-8ca0d2b68d7eb393.js:1:58446
    NextJS 7

System Info

Linux (Ubuntu 22.04)
Firefox 128.12.0esr

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