• Resolved alahmnat

    (@alahmnat)


    Hi! I’m having an issue with the accordion block not behaving quite right when the browser is told to prefer reduced motion. The accordion doesn’t close other opened sections when you click on a new one, it doesn’t re-collapse an item when you click on an expanded item’s header, and sometimes doesn’t size itself correctly when opening an item. I’ve been able to trace this back to the _isTransitioning value not being reset to 0 because the _endTransition() function is never called when reduced motion is enabled, but that’s as far as I’ve gotten. I’ve been able to replicate this in the latest versions of both Firefox and Chrome, with WordPress 6.1.1 and the latest CBB plugin installed.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Phi Phan

    (@mr2p)

    Hi @alahmnat,

    Thank you very much for reporting the issue, I’ll work on it soon.

    Thanks, Phi.

    Plugin Author Phi Phan

    (@mr2p)

    Hi @alahmnat,

    I’ve released a new version of the plugin. The fix for this issue has been included in this release. Please test it and let me know if it is worked for you.

    Thank you again for reporting the issue.

    Phi.

    Thread Starter alahmnat

    (@alahmnat)

    It’s working great now. Thanks for the quick response!

    Plugin Author Phi Phan

    (@mr2p)

    I’m glad to hear that. If you have the time and wouldn’t mind, please give it a rating to help it spread to more people.

    Thank you @alahmnat again for reporting the issue.

    Phi.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with blocks when prefers-reduced-motion is true’ is closed to new replies.