-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android interactor assumes global positions which delays auto scrolling #2000
Labels
area_supereditor
Pertains to SuperEditor
bounty_junior
f:superlist
Funded by Superlist
platform_android
Applies to use on Android
time:2
type_bug
Something isn't working
Comments
matthew-carroll
added
area_supereditor
Pertains to SuperEditor
platform_android
Applies to use on Android
bounty_junior
f:superlist
Funded by Superlist
time:2
labels
May 23, 2024
angelosilvestre
added a commit
that referenced
this issue
May 25, 2024
matthew-carroll
pushed a commit
that referenced
this issue
May 26, 2024
matthew-carroll
pushed a commit
that referenced
this issue
May 26, 2024
quaaantumdev
pushed a commit
to quaaantumdev/super_editor
that referenced
this issue
Jun 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area_supereditor
Pertains to SuperEditor
bounty_junior
f:superlist
Funded by Superlist
platform_android
Applies to use on Android
time:2
type_bug
Something isn't working
Package Version
stable
To Reproduce
Steps to reproduce the behavior:
Minimal Reproduction Code
Minimal, Runnable Code Sample
Actual behavior
Currently, on Android, autoscroll is only started after dragging the over the scaffold's header. On iOS, the autoscroll happens immediately at the boundary of the document.
Expected behavior
The auto-scroll should begin before the start of the document and not above it.
(It would also be nice to be able to control where the scroll start boundary is. It seems the bits are already there just not exposed through
SuperEditor
)Platform
Android
Flutter version
Additional context
Originally, I wanted to adapt the example above to always use the Android gesture mode, however, it seems that setting
gestureMode
only effects selection styling. Popover toolbar and selection handlers are not displayed. It seems this is becauseSuperEditorAndroidHandlesDocumentLayerBuilder
and other builders test for thedefaultTargetPlatform
to decide whether to build or not thus ignorring thegestureMode
.The text was updated successfully, but these errors were encountered: