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

Using requestAnimationFrame instead of setTimeout to ensure that the … … #2

Merged
merged 35 commits into from
Sep 11, 2017

Conversation

kuldeepkeshwar
Copy link
Owner

Thanks for contributing to react-virtualized!

Here is a short checklist of additional things to keep in mind before submitting:

  • Please make sure your pull request description makes it very clear what you're trying to accomplish. If it's a bug fix, please also provide a failing test case (if possible). In either case, please add additional unit test coverage for your changes. :)
  • Run tests locally (npm test) to ensure that your change did not break linting or functionality.
  • Be sure you have notifications setup so that you'll see my code review responses. (I may ask you to make some adjustments before merging.)

gnbaron and others added 30 commits July 17, 2017 14:57
…debounce scroll callback will be executed in the expected time.
…mationFrame.

setTimout with zero delay was used in Masonry test to wait tasks of requestAnimationFrame finish before assert the result.
…debounce scroll callback will be executed in the expected time.
…mationFrame.

setTimout with zero delay was used in Masonry test to wait tasks of requestAnimationFrame finish before assert the result.
… requestAnimationFrame

This update also replaces setTimeout/clearTimeout in the WindowScroller component with the requestAnimationFrame-based timeout function.
Document ArrowKeyStepper's disabled property
…easier to understand.

- The underlying logic is untouched.
- Adds intermediate variables so it's clear as to what the logic is doing.
Make CellSizeAndPositionManager.getTotalSize() more explicit so it's easier to understand.
…ault

cellMeasurerCache.clear() add 0 as default columnIndex
Wizard demo: Add a key prop to CodeMirror that increments on state change
@kuldeepkeshwar kuldeepkeshwar merged commit 7a39fb0 into kuldeepkeshwar:master Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants