mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-16 00:47:39 +03:00
Fix selectable popover dismissing on key press (#14368)
Release Notes: - Fixed dismissal bug included in #12918
This commit is contained in:
parent
e26dbe2c5b
commit
5d860e2286
@ -408,8 +408,10 @@ impl EditorElement {
|
||||
if phase != DispatchPhase::Bubble {
|
||||
return;
|
||||
}
|
||||
|
||||
editor.update(cx, |editor, cx| {
|
||||
if editor.hover_state.focused(cx) {
|
||||
return;
|
||||
}
|
||||
Self::modifiers_changed(editor, event, &position_map, &text_hitbox, cx)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user