diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-06 19:28:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-06 22:13:13 +0100 |
commit | 3e6aaa3520168a93927b0df38b50653803c85810 (patch) | |
tree | 1eafcb5cb641bb9938edab5668b4381fc4e05ba6 /Meta/Lagom | |
parent | 2666cb7b01543d07c745038db1c5a510f65b383f (diff) | |
download | serenity-3e6aaa3520168a93927b0df38b50653803c85810.zip |
LibWeb: Update focus target when handling mousedown events
If the mousedown event hits something with is_focusable()==true,
we now update the document's focused element *instead* of placing the
text cursor at the focusable element.
This allows you to begin editing input elements by clicking them.
This feels very hackish and we'll need to come up with something nicer.
Diffstat (limited to 'Meta/Lagom')
0 files changed, 0 insertions, 0 deletions