Skip to content

[Feature] new horizontal scrolling implementation#1

Merged
dingyi222666 merged 1 commit intodingyi222666:mainfrom
Rosemoe:horizontal-scroll
Jan 14, 2023
Merged

[Feature] new horizontal scrolling implementation#1
dingyi222666 merged 1 commit intodingyi222666:mainfrom
Rosemoe:horizontal-scroll

Conversation

@Rosemoe
Copy link
Copy Markdown
Contributor

@Rosemoe Rosemoe commented Jan 14, 2023

This pull request improves the general experience of horizontal scrolling.

Features

  • smooth horizontal scrolling
  • correct max horizontal scrolling offset
  • dispatching touch events to children with transformed coordinate
  • no reflection used in implementation

Known Problems

When horizontal scrolling is enabled:

  • the view can not be correctly measured when it has wrap_content set as its width layout paramaters
  • item clickable range is limited to 1,000,000 pixels

@dingyi222666
Copy link
Copy Markdown
Owner

Thanks for your contributions

@dingyi222666 dingyi222666 merged commit c528cd9 into dingyi222666:main Jan 14, 2023
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