-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 for #998 Reseting scrollUp/scrollLeft to scrollToRow/scrollToColumn incorrectly #1154
Conversation
My problem is exactly the same as #1148. This PR should solve it. |
#998 specifically discusses scrollToIndex, can we get a test case verifying that specific behavior being fixed? |
sorry. didn't scroll down far enough. that's my fault |
@aem , we got the same issue and we need this PR is merged soon to resolve our issue. I think the change is good enough. If you think we have another way to fix, let us know when possibly we can fix the issue. 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.
Awesome! Nice test case. I ran it locally and everything looks good! Thanks for contributing.
cc: @dcolens. I didnt get a chance to fix the broken tests after the rewrite. But this MR will have it in! Nevertheless, we appreciate your contributions |
Hi there, can you brief when will you patch this? |
@sytranvn I would say within a week! |
Thanks @wuweiweiwu |
Hey @wuweiweiwu, |
@sytranvn there are some more bugs that I want to fix before the next patch release. Thanks for your patience |
@wuweiweiwu I'd also love to see a patch release for this. Unless you're addressing new bugs that have only been present on 🍻 |
I see. That makes sense. I'll try to release tomorrow! |
Released in version |
* bvaughn/master: (54 commits) Update version and changelog for 9.21.0 release (bvaughn#1252) chore: update lockfile Update ci badge (bvaughn#1227) Allow users to override default table row styles (bvaughn#1175) Add onColumnClick to Table (bvaughn#1207) remove unused variable in Masonry.example.js (bvaughn#1218) Fix Table aria attributes (bvaughn#1208) Fix typo in CellMeasurer.DynamicHeightTableColumn.example.js (bvaughn#1190) Update usingAutoSizer.md (bvaughn#1186) Add an extra check for an e.target.className.indexOf function (bvaughn#1210) Fix broken Slack badge image (bvaughn#1205) docs(CellMeasurer): fix `import` statement (bvaughn#1187) Added new friend (bvaughn#1197) Fix createMultiSort bug (bvaughn#1051) adding new usecase example and fix some typos (bvaughn#1168) Updating version to 9.20.1 Update changelog for the 9.20.1 release (bvaughn#1167) Prevent early debounceScrollEndedCallback when there is a slow render (bvaughn#1141) removing sideEffects (bvaughn#1163) fix for bvaughn#998 with test cases (bvaughn#1154) ...
The original fix #1001 for the issue #998 is reverted because of failing tests due to upgrading to React 16. I create two tests to verify that scrollUp/scrollLeft are not reset to scrollToRow/scrollToColumn when recompute grid size with index less than scrollToIndex.
closes #998
Before submitting a pull request, please complete the following checklist:
npm test
) all passnpm run prettier
).npm run typecheck
).Here is a short checklist of additional things to keep in mind before submitting: