Skip to content

Commit

Permalink
fix: dropDownMenu连续点击蒙层问题
Browse files Browse the repository at this point in the history
  • Loading branch information
kongjing committed Apr 26, 2023
1 parent f271b5c commit 93398d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/vantui/src/dropdown-item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function Index(
closeOnClickOverlay={parentInstance.closeOnClickOverlay}
onEnter={onOpen}
onLeave={onClose}
onClose={toggle}
onClose={() => toggle(false)}
onAfterEnter={onOpened}
onAfterLeave={onClosed_}
>
Expand Down
13 changes: 1 addition & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9729,18 +9729,7 @@ [email protected], glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glo
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^10.1.0:
version "10.2.2"
resolved "https://registry.npmmirror.com/glob/-/glob-10.2.2.tgz#ce2468727de7e035e8ecf684669dc74d0526ab75"
integrity sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==
dependencies:
foreground-child "^3.1.0"
jackspeak "^2.0.3"
minimatch "^9.0.0"
minipass "^5.0.0"
path-scurry "^1.7.0"

glob@^10.2.2:
glob@^10.1.0, glob@^10.2.2:
version "10.2.2"
resolved "https://registry.npmjs.org/glob/-/glob-10.2.2.tgz#ce2468727de7e035e8ecf684669dc74d0526ab75"
integrity sha512-Xsa0BcxIC6th9UwNjZkhrMtNo/MnyRL8jGCP+uEwhA5oFOCY1f2s1/oNKY47xQ0Bg5nkjsfAEIej1VeH62bDDQ==
Expand Down

0 comments on commit 93398d8

Please sign in to comment.