Skip to content

Implement drag-to-scroll in SelectionContainer#2979

Merged
Vlad Konstantinov (Kpotko) merged 1 commit into
release/1.11from
m-sasha/text-drag-scroll-1.11
Apr 14, 2026
Merged

Implement drag-to-scroll in SelectionContainer#2979
Vlad Konstantinov (Kpotko) merged 1 commit into
release/1.11from
m-sasha/text-drag-scroll-1.11

Conversation

@m-sasha

@m-sasha Alexander Maryanovsky (m-sasha) commented Apr 14, 2026

Copy link
Copy Markdown

Implement scrolling the selection container when the user selects text and drags the mouse outside the text element.

This is a cherry-pick of #2966

Testing

N/A

Release Notes

Features - Multiple Platforms

  • Implement drag-to-scroll in SelectionContainer. When the mouse pointer is dragged outside the element while selecting text, the text element will be scrolled accordingly. Note that this requires wrapping the content in a scrolling container/modifier, e.g. Modifier.verticalScroll.

@m-sasha Alexander Maryanovsky (m-sasha) requested a review from a team April 14, 2026 06:40
@m-sasha Alexander Maryanovsky (m-sasha) changed the title Implement drag-to-scroll in SelectionContainer (#2966) Implement drag-to-scroll in SelectionContainer Apr 14, 2026
@Kpotko Vlad Konstantinov (Kpotko) merged commit 96b778a into release/1.11 Apr 14, 2026
18 checks passed
@Kpotko Vlad Konstantinov (Kpotko) deleted the m-sasha/text-drag-scroll-1.11 branch April 14, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants