Skip to content

feature: UserEvent scroll() #1441

Closed
Closed
@mdjastrzebski

Description

@mdjastrzebski

Describe the Feature

Create a User Event interaction(s) for scrolling. This seems to be pretty frequent interaction on touch based devices, at the same time there are numerous events involved: onScroll, onMomentumScrollBegin/End, onScrollBegin/EndDrag, etc. This feature should work with ScrollViewas well asFlatList/SectionList` (hopefully these will be same event sequences).

Possible Implementations

As with other User Event interactions:

  1. Create ScrollView/FlatList experiment in the experiments app
  2. Conduct scroll interactions (dragging, vertical swiping) on both iOS & Android, record logged events in our Wiki
  3. Define unified event sequence roughly matching both iOS & Android, as well as events documentation
  4. Write implementation and relevant unit tests

Related Issues

#1405 - core User Event code
#1386 - press() implementation
#1396 - type() implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions