Bug 255444

Summary: AX: cursor pointer jump when move on text
Product: WebKit Reporter: alex_pan <panyaoheng>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker CC: andresg_22, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: iPhone / iPad   
OS: iOS 16   
Attachments:
Description Flags
webpage to reproduce
none
video to show bug
none
bug video 2 none

Description alex_pan 2023-04-14 02:07:34 PDT
Created attachment 465911 [details]
webpage to reproduce

when move cursor by magic keyboard or bluetooth mouse on text,cursor point jump for no reason. I move cursor pointer horizontally but pointer will jump vertically.  

device: IPad pro 3
ios version: 16.1.1(20B101)
browser: safari

You can open the html,focus in the contenteditable div, in this way bug can reproduce easily.
Comment 1 Radar WebKit Bug Importer 2023-04-14 02:07:44 PDT
<rdar://problem/108038976>
Comment 2 alex_pan 2023-04-14 02:09:35 PDT
Created attachment 465912 [details]
video to show bug

bug video 1
Comment 3 alex_pan 2023-04-14 02:10:47 PDT
Created attachment 465913 [details]
bug video 2
Comment 4 Alexey Proskuryakov 2023-04-14 17:06:13 PDT
Not sure if I see a bug in the video. The cursor changes to vertical line for text selection, and snaps to closest text line, which seems expected.
Comment 5 alex_pan 2023-04-14 21:26:29 PDT
no other line under the text, and i am not making any selection, just move cursor, cursor should not go there. And if i stop move after cursor vertical jump, and make a click, the cursor will vertical jump back to the text. Or double click, it will selectect the text before jump.
Comment 6 alex_pan 2023-04-14 21:32:02 PDT
(In reply to Alexey Proskuryakov from comment #4)
> Not sure if I see a bug in the video. The cursor changes to vertical line
> for text selection, and snaps to closest text line, which seems expected.

If there is, cursor should not goes ther by itself either, because i am moving horizontally, i don`t expect it jump vertically, and why this will not happen on ipad os 15?