Skip to content

Commit

Permalink
fix(disclosure): fix issue with widget not closing in some cases
Browse files Browse the repository at this point in the history
Updates hello-goodbye to v0.2 which fixes transition end detection in cases where a transition has been defined, but no properties are actually transitioned
  • Loading branch information
tobyzerner committed Mar 21, 2023
1 parent f90c6c2 commit cb3ae5d
Show file tree
Hide file tree
Showing 8 changed files with 294 additions and 150 deletions.
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,17 @@
opacity: 0;
transform: translateY(-10px);
}

@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
</style>
</head>
<body>
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"release": "release-it"
},
"dependencies": {
"@floating-ui/dom": "^1.2.4",
"@floating-ui/dom": "^1.2.5",
"focus-trap": "^6.9.4",
"hello-goodbye": "^0.1.1",
"hello-goodbye": "^0.2.0",
"tabbable": "^5.3.3"
},
"devDependencies": {
"@release-it/conventional-changelog": "^5.1.1",
"prettier": "^2.8.4",
"release-it": "^15.9.0",
"prettier": "^2.8.6",
"release-it": "^15.9.1",
"typescript": "^5.0.2",
"vite": "^4.2.0"
"vite": "^4.2.1"
},
"release-it": {
"git": {
Expand Down
Loading

0 comments on commit cb3ae5d

Please sign in to comment.