Skip to content

First word selected when double tapping slightly above last word #4916

Description

@raineorshine

Steps to Reproduce

  1. Create thought "One two three".
  2. Double tap slightly above "three".

Current Behavior

"One" is selected.

Expected Behavior

"Three" should be selected.

Debug Log


[2026-08-13T23:17:39.697Z] +0ms #0 session {"ua":"Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6 Mobile/15E148 Safari/604.1","screen":"414x896","mode":"production","appVersion":"351.1.0","commitHash":"8fda388"}
[2026-08-13T23:17:39.700Z] +4ms #1 frame
[2026-08-13T23:17:40.200Z] +500ms #2 frame
[2026-08-13T23:17:40.700Z] +500ms #3 frame
[2026-08-13T23:17:41.201Z] +500ms #4 frame
[2026-08-13T23:17:41.701Z] +500ms #5 frame
[2026-08-13T23:17:41.894Z] +193ms #6 touchstart {"x":329,"y":509}
[2026-08-13T23:17:41.997Z] +104ms #7 touchend {"x":339,"y":451}
[2026-08-13T23:17:42.222Z] +224ms #8 frame
[2026-08-13T23:17:42.722Z] +500ms #9 frame
[2026-08-13T23:17:42.840Z] +119ms #10 touchstart {"x":246,"y":591}
[2026-08-13T23:17:42.883Z] +42ms #11 touchend {"x":246,"y":591}
[2026-08-13T23:17:43.230Z] +348ms #12 frame
[2026-08-13T23:17:43.288Z] +58ms #13 action {"actionType":"closeModal","payload":"{}"}
[2026-08-13T23:17:43.747Z] +458ms #14 frame
[2026-08-13T23:17:44.078Z] +331ms #15 touchstart {"x":187,"y":79}
[2026-08-13T23:17:44.150Z] +72ms #16 tap {"eventType":"touchend","cancelable":true,"touching":false,"editingOrOnCursor":true,"isVisible":true,"longPress":"Inactive"}
[2026-08-13T23:17:44.152Z] +3ms #17 touchend {"x":187,"y":79}
[2026-08-13T23:17:44.158Z] +6ms #18 focus {"tag":"DIV","testid":null}
[2026-08-13T23:17:44.163Z] +5ms #19 action {"actionType":"setCursor","payload":"{\"cursorHistoryClear\":true,\"preserveMulticursor\":true,\"isKeyboardOpen\":true,\"offset\":null,\"path\":[\"DpMOdRkMtPUL8\"]}"}
[2026-08-13T23:17:44.165Z] +2ms #20 action {"actionType":"setCursor","payload":"{\"path\":[\"DpMOdRkMtPUL8\"],\"offset\":13}"}
[2026-08-13T23:17:44.170Z] +5ms #21 tap {"eventType":"click","cancelable":true,"touching":false,"editingOrOnCursor":true,"isVisible":true,"longPress":"Inactive"}
[2026-08-13T23:17:44.171Z] +1ms #22 longPressEnd {"eventType":"touchend","dragHold":false}
[2026-08-13T23:17:44.174Z] +3ms #23 action {"actionType":"longPress","payload":"{\"value\":\"Inactive\"}"}
[2026-08-13T23:17:44.263Z] +89ms #24 frame
[2026-08-13T23:17:44.776Z] +513ms #25 frame
[2026-08-13T23:17:45.276Z] +500ms #26 frame
[2026-08-13T23:17:45.777Z] +500ms #27 frame
[2026-08-13T23:17:46.276Z] +500ms #28 frame
[2026-08-13T23:17:46.491Z] +214ms #29 touchstart {"x":177,"y":63}
[2026-08-13T23:17:46.578Z] +88ms #30 tap {"eventType":"touchend","cancelable":true,"touching":false,"editingOrOnCursor":true,"isVisible":true,"longPress":"Inactive"}
[2026-08-13T23:17:46.581Z] +2ms #31 touchend {"x":177,"y":63}
[2026-08-13T23:17:46.590Z] +9ms #32 longPressEnd {"eventType":"touchend","dragHold":false}
[2026-08-13T23:17:46.593Z] +3ms #33 action {"actionType":"longPress","payload":"{\"value\":\"Inactive\"}"}
[2026-08-13T23:17:46.671Z] +78ms #34 touchstart {"x":180,"y":63}
[2026-08-13T23:17:46.735Z] +64ms #35 tap {"eventType":"touchend","cancelable":true,"touching":false,"editingOrOnCursor":true,"isVisible":true,"longPress":"Inactive"}
[2026-08-13T23:17:46.735Z] +1ms #36 touchend {"x":180,"y":63}
[2026-08-13T23:17:46.745Z] +10ms #37 longPressEnd {"eventType":"touchend","dragHold":false}
[2026-08-13T23:17:46.746Z] +1ms #38 action {"actionType":"longPress","payload":"{\"value\":\"Inactive\"}"}
[2026-08-13T23:17:46.793Z] +47ms #39 frame
[2026-08-13T23:17:47.293Z] +500ms #40 frame
[2026-08-13T23:17:47.802Z] +508ms #41 frame
[2026-08-13T23:17:48.302Z] +500ms #42 frame
[2026-08-13T23:17:48.802Z] +500ms #43 frame
[2026-08-13T23:17:49.302Z] +501ms #44 frame
[2026-08-13T23:17:49.812Z] +510ms #45 blur {"tag":"BODY","testid":null}
[2026-08-13T23:17:49.818Z] +6ms #46 action {"actionType":"keyboardOpen","payload":"{\"value\":false}"}
[2026-08-13T23:17:49.842Z] +23ms #47 frame
[2026-08-13T23:17:50.347Z] +505ms #48 touchstart {"x":329,"y":527}
[2026-08-13T23:17:50.357Z] +10ms #49 frame
[2026-08-13T23:17:50.464Z] +107ms #50 gesture {"sequence":"","x":329,"y":527,"endX":327,"endY":531,"abandon":true,"innerHeight":673,"safeAreaBottom":34}
[2026-08-13T23:17:50.464Z] +1ms #51 touchend {"x":327,"y":463}
[2026-08-13T23:17:50.861Z] +396ms #52 frame
[2026-08-13T23:17:50.941Z] +80ms #53 touchstart {"x":332,"y":545}
[2026-08-13T23:17:51.028Z] +87ms #54 gesture {"sequence":"","x":332,"y":545,"endX":349,"endY":616,"abandon":true,"innerHeight":668,"safeAreaBottom":0}
[2026-08-13T23:17:51.028Z] +0ms #55 touchend {"x":349,"y":431}
[2026-08-13T23:17:51.361Z] +333ms #56 frame
[2026-08-13T23:17:51.638Z] +278ms #57 touchstart {"x":332,"y":622}
[2026-08-13T23:17:51.720Z] +81ms #58 gesture {"sequence":"","x":332,"y":622,"endX":343,"endY":680,"abandon":true,"innerHeight":749,"safeAreaBottom":34}
[2026-08-13T23:17:51.720Z] +1ms #59 touchend {"x":343,"y":504}
[2026-08-13T23:17:51.867Z] +147ms #60 frame
[2026-08-13T23:17:52.380Z] +512ms #61 frame
[2026-08-13T23:17:52.712Z] +333ms #62 touchstart {"x":317,"y":642}
[2026-08-13T23:17:52.772Z] +60ms #63 touchend {"x":317,"y":642}
[2026-08-13T23:17:52.783Z] +11ms #64 action {"actionType":"showModal","payload":"{\"id\":\"settings\"}"}
[2026-08-13T23:17:52.886Z] +102ms #65 frame
[2026-08-13T23:17:53.344Z] +459ms #66 touchstart {"x":315,"y":579}
[2026-08-13T23:17:53.388Z] +44ms #67 frame
[2026-08-13T23:17:53.440Z] +52ms #68 touchend {"x":344,"y":423}
[2026-08-13T23:17:53.895Z] +455ms #69 frame
[2026-08-13T23:17:54.403Z] +508ms #70 frame
[2026-08-13T23:17:54.737Z] +334ms #71 touchstart {"x":130,"y":593}
[2026-08-13T23:17:54.780Z] +43ms #72 touchend {"x":130,"y":593}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions