FIX: scroll index was being reset on focus

This commit is contained in:
Marcos Rodriguez Vélez 2021-10-29 00:52:03 -04:00
parent 1ff244482f
commit e428d381ab
No known key found for this signature in database
GPG key ID: 0D64671698D11C5C

View file

@ -386,8 +386,6 @@ const SendDetails = () => {
return [...addresses];
});
setIsLoading(false);
// RN Bug: contentOffset gets reset to 0 when state changes. Remove code once this bug is resolved.
setTimeout(() => scrollView.current.scrollToIndex({ index: currentIndex, animated: false }), 50);
return;
}