mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
05dd46f9e3
Click event logic should start as false, and after checking if the mousedown and subsequent mouseup have been on the same element, and if the node dispatches events it can become true. This fixes the issue that clicking anywhere on the page, then dragging the mouse on top of a link or button, then releasing triggers the link. This is also happening when selecting text, if the selection stops over a link, the page navigates. |
||
---|---|---|
.. | ||
EditEventHandler.cpp | ||
EditEventHandler.h | ||
EventHandler.cpp | ||
EventHandler.h | ||
Page.cpp | ||
Page.h |