Code Venom
Code Venom
``` handleLayoutChange(event) { this.myComponent.measure( (fx, fy, width, height, px, py) => { this.setState({ captureBoxXAxis: px, captureBoxYAxis: py, captureBoxWidth: width, captureBoxHeight: height, }); }) } const width = Dimensions.get('window').width const height...
This is how it worked for me ``` const [canmomentum, setCanMomentum] = useState(false); { setCanMomentum(true) }} onMomentumScrollEnd={() => { if (canmomentum) console.log('onMomentumScrollEnd') setCanMomentum(false) }} > ```