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

added indexes for other idGetter usages #376

Merged

Conversation

etaylib
Copy link
Contributor

@etaylib etaylib commented Dec 5, 2021

No description provided.

@hadasfa hadasfa self-requested a review December 6, 2021 08:45
@@ -51,7 +51,7 @@ function findItemAtOffset(items, normalizedItems, idGetter, fromIndex, offset) {

export const isVerticalScrollbarVisible = (items, normalizedItems, idGetter, listHeight) => {
const lastExistingItem = items[items.length - 1] || EMPTY_OBJECT;
const lastExistingItemId = idGetter(lastExistingItem);
const lastExistingItemId = idGetter(lastExistingItem, i);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix eslint and tests errors :)

…or-more-getters

* master:
  Add modifiers support to Tipseen and Tooltip (#377)
@hadasfa hadasfa self-requested a review December 6, 2021 13:01
@hadasfa hadasfa merged commit fed1065 into master Dec 6, 2021
@hadasfa hadasfa deleted the feature/etay/virtualized-list/pass-index-for-more-getters branch December 6, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants