Skip to content
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

feat: forward FlatList ref and make automatic scroll disableable #58

Open
hirbod opened this issue May 25, 2022 · 0 comments
Open

feat: forward FlatList ref and make automatic scroll disableable #58

hirbod opened this issue May 25, 2022 · 0 comments
Labels
feature New feature or request

Comments

@hirbod
Copy link

hirbod commented May 25, 2022

Hi,

https://github.com/flyerhq/react-native-chat-ui/blob/main/src/components/Chat/Chat.tsx#L173-L185

Forces an automated scrolling. Since I am using a customBottomComponent, I am handling things differently.
Also does this not play nicely with facebook/react-native#31402

I'll have to patch-package this for now but it would be awesome to make this

a) configurable (default activated for the normal user)
b) forwardRef of FlatList so we can actually make custom scroll decisions.

@hirbod hirbod added the feature New feature or request label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant