fix(overflow-menu): dispatch "close" event when clicking outside (#1546)

Fixes #1541
This commit is contained in:
metonym 2022-12-07 20:25:36 -08:00 committed by Eric Liu
commit 837716ff8b
4 changed files with 14 additions and 11 deletions

View file

@ -8063,7 +8063,7 @@
{
"type": "dispatched",
"name": "close",
"detail": "{ index: number; text: string; }"
"detail": "null | { index: number; text: string; }"
},
{ "type": "forwarded", "name": "click", "element": "button" },
{ "type": "forwarded", "name": "mouseover", "element": "button" },