Commit a1ed35e
committed
Fix clicking on webviews does not dismiss custom title bar menu
Fixes microsoft#68313
When clicking into a webview, the `relatedTarget` property of the corresponding blur event fired is `undefined`. This fix makes it so that an empty `relatedTarget` also dismisses menus1 parent e81dd23 commit a1ed35e
1 file changed
Lines changed: 3 additions & 5 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
| |||
0 commit comments