opened 01:26PM - 01 Apr 25 UTC
bug
**Describe the bug (REQUIRED)**
When selecting text in a script file in the edit…or, the handles are sometimes dragged unexpectedly.
**To Reproduce (REQUIRED)**
1. Click down to start dragging text.
2. Continue to drag outside of the text area.
3. The resize handles are sometimes dragged even though the click down was on the text, not the handle.
https://github.com/user-attachments/assets/5f36ae95-5bb6-47b8-8818-0cedf382320c
Observations:
* Releasing the click on top of the resize bar makes the selection now stick until you click again:
https://github.com/user-attachments/assets/1b60a83e-5e4b-4971-b930-ef9be1632429
* When the drag accidentally sticks to the resize handle, dragging the mouse fast stops it from sticking. When dragging the resize handle normally, the drag never releases without the mouse button releasing.
* The stickiness of the resize handles are on or off; if it doesn't happen when dragging, it can't be triggered until releasing the mouse button again. Similarly, if the stickiness is triggered, it can always be triggered again during the same drag.
* The same behaviour applies for all resize handles.
**Expected behavior (REQUIRED)**
The resize handles shouldn't stick.
**Defold version (REQUIRED):**
1.9.8 and 1.9.7.
**Platforms (REQUIRED):**
maxOS Sequoia 15.3.2

**Minimal repro case project (OPTIONAL):**
Happens on all Defold projects. Here is an empty one: [My Project.zip](https://github.com/user-attachments/files/19551672/My.Project.zip)
**Additional context (OPTIONAL):**
Add any other context about the problem here.