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
Fix bug rows doesn't close on scroll in a SwipeableFlatList #18001
Conversation
In other words, this will re-render the entire list on scroll if some row is open. While this works, I daresay it is just a workaround and the true bugfix lays in making sure the |
But |
Any update on this ? |
@Freddy03h I tried to find reviewers for this pull request and wanted to ping them to take another look. However, based on the blame information for the files in this pull request I couldn't find any reviewers. This sometimes happens when the files in the pull request are new or don't exist on master anymore. Is this pull request still relevant? If yes could you please rebase? In case you know who has context on this code feel free to mention them in a comment (one person is fine). Thanks for reading and hope you will continue contributing to the project. |
Maybe @tomasreimers can be a reviewer ? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tomasreimers has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was closed by @Freddy03h in 16b3783. Once this commit is added to a release, you will see the corresponding version tag below the description at 16b3783. If the commit has a single |
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Fix bug `SwipeableRow`s doesn't close on Scroll in a `SwipeableFlatList` Use a SwipeableFlatList with multiple rows, open one of them, then scroll. Open row should close on scroll. [GENERAL] [BUGFIX] [SwipeableFlatList] - Fix rows doesn't close on scroll <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Pull Request resolved: #18001 Reviewed By: TheSavior Differential Revision: D9192387 Pulled By: tomasreimers fbshipit-source-id: f43e9614f9def5f3112327163c2b15fb45d84fb2
Motivation
Fix bug
SwipeableRow
s doesn't close on Scroll in aSwipeableFlatList
Test Plan
Use a SwipeableFlatList with multiple rows, open one of them, then scroll.
Open row should close on scroll.
Release Notes
[GENERAL] [BUGFIX] [SwipeableFlatList] - Fix rows doesn't close on scroll