Skip to content

introduce Fantom.scrollTo#48907

Closed
sammy-SC wants to merge 2 commits into
facebook:mainfrom
sammy-SC:export-D68554703
Closed

introduce Fantom.scrollTo#48907
sammy-SC wants to merge 2 commits into
facebook:mainfrom
sammy-SC:export-D68554703

Conversation

@sammy-SC
Copy link
Copy Markdown
Contributor

Summary:
changelog: [internal]

Introduce new function Fantom.scrollTo, which will fake a scroll to particular position.
Calling the method will call onScroll event using codepath that iOS uses. It will also set C++ state so the new scroll position is observable from JavaScript.

Differential Revision: D68554703

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 23, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68554703

Summary:
changelog: [internal]

All other Fantom tests are using Fantom.foo style instead of `foo`. Let's unify codebase on this.

Differential Revision: D68552829
Summary:

changelog: [internal]

Introduce new function `Fantom.scrollTo`, which will fake a scroll to particular position.
Calling the method will call onScroll event using codepath that iOS uses. It will also set C++ state so the new scroll position is observable from JavaScript.

Differential Revision: D68554703
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68554703

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in aa57608.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants