Skip to content

docs: forwardRef for FlashList+renderScrollComponent #903

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

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

kirillzyusko
Copy link
Owner

@kirillzyusko kirillzyusko commented Apr 4, 2025

📜 Description

Updated documentation for FlashList.

💡 Motivation and Context

Seems like in recent versions of FlashList ref-forwarding has changed, so now we need to wrap the callback in forwardRef. Funny thing - such wrapper doesn't work for FlatList. So I separated instructions 🤷‍♂️

Closes #888

📢 Changelog

Docs

  • updated FlashList + KeybaordAwareScrollView integrations ection.

🤔 How Has This Been Tested?

Tested in example app.

📸 Screenshots (if appropriate):

image

📝 Checklist

  • CI successfully passed
  • I added new mocks and corresponding unit-tests if library API was changed

Copy link
Contributor

github-actions bot commented Apr 4, 2025

PR Preview Action v1.6.1
Preview removed because the pull request was closed.
2025-04-14 17:21 UTC

Copy link

argos-ci bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 2 changed Apr 14, 2025, 5:12 PM

@kirillzyusko kirillzyusko force-pushed the docs/forward-ref-render-scroll-flash-list branch from 5ed58f9 to c7cf14c Compare April 14, 2025 17:09
@kirillzyusko kirillzyusko self-assigned this Apr 14, 2025
@kirillzyusko kirillzyusko added the documentation Improvements or additions to documentation label Apr 14, 2025
@kirillzyusko kirillzyusko marked this pull request as ready for review April 14, 2025 17:12
@kirillzyusko kirillzyusko merged commit 976cfe5 into main Apr 14, 2025
9 checks passed
@kirillzyusko kirillzyusko deleted the docs/forward-ref-render-scroll-flash-list branch April 14, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when using KeyboardAwareScrollView with FlashList
1 participant