File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ const ScrollToButtons = () => {
71
71
const styles = StyleSheet . create ( {
72
72
container : {
73
73
flex : 1 ,
74
+ marginTop : 200 ,
74
75
alignItems : 'center' ,
75
76
justifyContent : 'center' ,
76
77
} ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @sellpy/react-native-scroll-anchor" ,
3
- "version" : " 0.1.0 " ,
3
+ "version" : " 0.1.1 " ,
4
4
"description" : " Hooks and utilities to simplify scrolling to elements in react native" ,
5
5
"main" : " lib/commonjs/index" ,
6
6
"module" : " lib/module/index" ,
Original file line number Diff line number Diff line change @@ -11,5 +11,9 @@ export const Anchor = ({
11
11
children : ReactNode ;
12
12
} ) => {
13
13
const ref = useAnchorRef ( name ) ;
14
- return < View ref = { ref } > { children } </ View > ;
14
+ return (
15
+ < View collapsable = { false } ref = { ref } >
16
+ { children }
17
+ </ View >
18
+ ) ;
15
19
} ;
You can’t perform that action at this time.
0 commit comments