-
Notifications
You must be signed in to change notification settings - Fork 427
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
Sticky #261
Sticky #261
Conversation
ananyachandra14
commented
Oct 15, 2018
- Sticky Headers and Footers
- Cascading sticky objects
- onVisibleIndexesChanged deprecated, onVisibleIndicesChanged to be used
Is this PR ready to merge? |
@gut4 Yea it's ready. We'll be merging it soon enough. |
* Flooring windowBound - offset. * Header boundary solved using scroll offset. * Footer solved. * Bug fix and doc updated. * Version bump. * Bounce scrolling recalculated on visible indices changed. * Boundary reached method moved to object. * Distance from window taken into consideration. * Adding distance from window to window bound. * Fix.
…into stickyView
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "recyclerlistview", | |||
"version": "1.4.0-beta.15", | |||
"version": "1.4.0-beta.16", |
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.
Change to 2.0.0 and some available beta
scripts/publish-local.sh
Outdated
@@ -2,6 +2,8 @@ | |||
set -e | |||
|
|||
TARGET=$"/Users/talha.naqvi/Documents/Work/RLV-Demo/node_modules/recyclerlistview/dist" #target-path | |||
#TARGET=$"/Users/ananya.chandra/Documents/ReactNativeRepos/ts-rex/node_modules/recyclerlistview/dist" #target-path |
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.
remove these
src/core/RecyclerListView.tsx
Outdated
this._virtualRenderer.attachVisibleItemsListener(this.props.onVisibleIndexesChanged!); | ||
} | ||
if (this.props.onVisibleIndexesChanged) { | ||
console.warn(Messages.VISIBLE_INDEXES_CHANGED_DEPRECATED); //tslint:disable-line |
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.
throw exception instead
import CustomError from "./exceptions/CustomError"; | ||
import RecyclerListViewExceptions from "./exceptions/RecyclerListViewExceptions"; | ||
|
||
export interface StickyContainerProps { |
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.
Not addressed
* import was not from web (#299) * CR changes. * Throwing exceptions for visibleIndexes and array sort. * Handling index 0 cases. * Updated doc with errors.