Re: [w3c/selection-api] `Selection.direction`'s behavior should be based on the node's position (Issue #334)

> The correct behavior is to pick the left edge if left arrow is pressed and pick the right edge if the right arrow is used since there is no directionality defined in such cases.

If the `Shift` key is not pressed, then it navigates to the edges, but if the `Shift` is pressed, then it extends the focus boundary-point.

The video was recorded in windows, but I've checked it on macOS as well and that has the same behavior.

https://github.com/user-attachments/assets/84cd54d5-732f-408b-a05a-4b79a8bc8f71



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/334#issuecomment-2294336383
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/issues/334/2294336383@github.com>

Received on Friday, 16 August 2024 21:28:28 UTC