LibWeb: Do not return after ignoring a key event on an editable node
We do not want to blindly say we handled the key event. Otherwise, the chrome is unable to handle shortcuts while an editable node is focused.
This commit is contained in:
parent
4a476c3dd5
commit
a386ebde02
Notes:
sideshowbarker
2024-07-17 03:05:16 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/a386ebde02 Pull-request: https://github.com/SerenityOS/serenity/pull/23613
1 changed files with 0 additions and 3 deletions
|
@ -856,9 +856,6 @@ bool EventHandler::handle_keydown(KeyCode key, u32 modifiers, u32 code_point)
|
|||
m_browsing_context->increment_cursor_position_offset();
|
||||
return true;
|
||||
}
|
||||
|
||||
// NOTE: Because modifier keys should be ignored, we need to return true.
|
||||
return true;
|
||||
}
|
||||
|
||||
// FIXME: Work out and implement the difference between this and keydown.
|
||||
|
|
Loading…
Add table
Reference in a new issue