Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 92c48e3e authored by Justin Ghan's avatar Justin Ghan
Browse files

Suppress scrolling when handwriting initiator requests focus

When stylus handwriting is started on an unfocused view which is
partially scrolled off screen, the handwriting initiator will request
focus on the view, which can cause the scroll position to jump to move
the view to the visible area. This is particularly problematic if
performing a rich gesture (such as circling to select some text), since
the position of the gesture relative to the view is important.

View#setRevealOnFocusHint is used to suppress the scroll. This setting
is currently respected by ScrollView and HorizontalScrollView.

Bug: 250920261
Test: Manually tested
Change-Id: I0da67f48876ab52e92a463992e8075c983e71819
parent 7fcb9a6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment