I am having similar problem. When scrollToIndex props change, the child component which uses a ref throw error elementRef is null. Did you solve this problem? If so can yu share how you did it?
Reasons:
RegEx Blacklisted phrase (2.5): can yu share how you
RegEx Blacklisted phrase (3): Did you solve this problem
RegEx Blacklisted phrase (1.5): solve this problem?