mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] DropdownMenu: close menu when click outside
This commit is contained in:
@@ -46,6 +46,7 @@ export default sfc({
|
||||
return (
|
||||
<Cell
|
||||
clickable
|
||||
key={option.value}
|
||||
title={option.text}
|
||||
titleStyle={{ color: active ? activeColor : '' }}
|
||||
onClick={() => {
|
||||
|
Reference in New Issue
Block a user