dotnet / dotnet/maui

Investigate quicker lookup of nested horizontal ScrollView on Android

Open
#8,601 0 comments 0 reactions 0 assignees View on GitHub
area-controls-scrollview delighter-sc perf/general platform/android Task
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

For bi-directional scrolling, on Android we nest a horizontal ScrollView in a vertical one. For every touch, we have to potentially feed that touch info to the horizontal ScrollView. The lookup for the nested ScrollView uses the `GetChildrenOfType` extension method. But there's only ever one nested ScrollView - we could probably avoid the loop through the ScrollView children (and the enumerable) by simply tagging the nested ScrollView with a known Id.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.