fix(theme): close dropdown menus after an item is clicked (#2380)

pull/2738/head
zuixinwang 1 year ago committed by GitHub
parent 063b0e520a
commit e54eea3da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,6 +87,12 @@ function onBlur() {
transform: translateY(0); transform: translateY(0);
} }
.button[aria-expanded="false"] + .menu {
opacity: 0;
visibility: hidden;
transform: translateY(0);
}
.button { .button {
display: flex; display: flex;
align-items: center; align-items: center;

Loading…
Cancel
Save