Skip to content

Commit

Permalink
fix cypress firefox >= 124 ci bug, 2
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Apr 8, 2024
1 parent 4aa0f53 commit edecb33
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 224 deletions.
7 changes: 0 additions & 7 deletions packages/vue-collapsed/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ export function isReducedOrDisabled(el: RefEl) {

const { transition } = getComputedStyle(el.value)

console.log(
typeof window.requestAnimationFrame === 'undefined' ||
window.matchMedia('(prefers-reduced-motion: reduce)').matches ||
transition.includes('none') ||
transition.includes('height 0s')
)

return (
typeof window.requestAnimationFrame === 'undefined' ||
window.matchMedia('(prefers-reduced-motion: reduce)').matches ||
Expand Down
Loading

0 comments on commit edecb33

Please sign in to comment.