react-native-scroll-into-view: Component won't scroll to the top edge of the ScrollView
Hi, I’m not able to get the required component to scroll into view such that it’s top edge touches the top edge of the ScrollView. Right now it only scrolls to the bottom edge of the required component. I’m using the enabled prop to decide which component scrolls into view. I tried using insets: { top: 0 } but it doesn’t work.
Thanks a lot for creating this package btw!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (9 by maintainers)
@slorber Thanks a lot, it works great!
@slorber That’s really sweet! I am giving it a try this afternoon.
hi @jsamr I’ve just published 1.0 with a new “align” prop which you can set to “top”.
Also there are some minor breaking changes (mostly some internal methods not exposed anymore + hoc being renamed + TS migration)
There is also an example of what you seem to achieve:
Can you please tell me if this works fine for you? Don’t have much time to test the publication on a real app