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

ScrollView stickyHeaderIndices #3070

Closed
chrisglein opened this issue Sep 4, 2019 · 5 comments
Closed

ScrollView stickyHeaderIndices #3070

chrisglein opened this issue Sep 4, 2019 · 5 comments

Comments

@chrisglein
Copy link
Member

Split out from #2113
An array of child indices determining which children get docked to the top of the screen when scrolling. For example, passing stickyHeaderIndices={[0]} will cause the first child to be fixed to the top of the scroll view. This property is not supported in conjunction with horizontal={true}.
Not directly supported by ScrollViewer. Seems difficult. Needs deep dive.

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Sep 4, 2019
@chrisglein chrisglein added API: Completion Area: ScrollView should-have and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Sep 4, 2019
@chrisglein chrisglein added this to the vNext Milestone 3 milestone Sep 4, 2019
@marlenecota marlenecota changed the title stickyHeaderIndices ScrollView stickyHeaderIndices Oct 31, 2019
@kmelmon
Copy link
Contributor

kmelmon commented Oct 31, 2019

@chrisglein @randy-flynn tells me they need this feature for something inside office. My instinct is implementing this will be complex because we can't just leverage ListView, we'll likely need a new implementation based on comp animations, so we should get someone thinking about the design for this soon.

@ddalp
Copy link
Contributor

ddalp commented Nov 14, 2019

StickyHeaderIndices are implemented using the event driven animation: it creates animated view with the scrollview's children at indcies cloned inside, the animated view does some Y translation and is hooked up with scrollView's onScroll event (with path ContentOffset -> Y)

#2941 is tracking RNW's event driven animation implementation, I believe the StickyHeaderIndices should just work after event driven animation is done.

@chrisglein chrisglein removed the vnext label Mar 18, 2020
@chrisglein chrisglein modified the milestones: 0.62 (M5), Backlog Apr 9, 2020
@ghost ghost added the Invalid Triage https://github.com/microsoft/react-native-windows/wiki/Triage-Process (label applied by bot) label Sep 16, 2020
@chrisglein chrisglein added enhancement and removed Invalid Triage https://github.com/microsoft/react-native-windows/wiki/Triage-Process (label applied by bot) labels Sep 23, 2020
@quicksilverr
Copy link

quicksilverr commented Oct 19, 2022

@chrisglein @NickGerleman Any updates on this?

@ttruongatl
Copy link
Member

ttruongatl commented Feb 4, 2023

Look like the issue will be solved by #11152

@chrisglein chrisglein added the Recommend: Not Planned Recommend that issue should be given Not Planned milestone. label Aug 30, 2023
@chrisglein
Copy link
Member Author

Not something we plan to address on the Paper renderer as we move towards Fabric.
Fabric API completion for ScrollView tracked here: #11152

@chrisglein chrisglein closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants