Does recenter() work with RN 0.49?
See original GitHub issueI cannot for some reason get the recenter() to fire or do anything.
this.swipeable = null;
const rightButtons = [<TouchableOpacity onPress={() => this.swipeable.recenter()}><Text>Recenter Me</Text></TouchableOpacity>]
<Swipeable onRef={ref => this.swipeable = ref} rightButtons={rightButtons}> ... <Swipeable/>
Any ideas why this would not work? Does onRef actually work with RN0.49? Anyone on RN0.49 that has this Swipeable recenter() working?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:10
Top Results From Across the Web
Chapter 6 Item Analysis for Educational Achievement Tests (Exams ...
Item 21 The most appropriate score for comparing scores across two or more distributions (e.g., exam scores in math and art classes) is...
Read more >Experimental and Analytical Study of the XY ... - UB Engineering
experimental work was conducted using a one 1/4-length-scale truss-bridge model (Warn, 2006) supported on XY-FP bearings. The truss-bridge model is a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nsbruce Great!. This example gave idea to solve my problem. Thank you so much.
Yes , recenter not working. How to recenter. can any body help ?
` swipeable = null;
}`