Fix setting the contentOffset value when refresh ends (#24191)
Fix setting the contentOffset value when refresh ends (#24191)

Summary:
It closes #24170.
I opened the issue yesterday, and I think I found the way how to resolve it. So, I'm opening this PR directly without any comment on the issue.

In the `endRefreshProgrammatically` of `RCTRefreshControl.m`, the comment says that " The contentOffset of the scrollview MUST be greater than 0". However, if the `contentInset` prop is set for the `FlatList`, I think `contentOffset` can be a negative value after refreshing and should be greater than `-contentInset.top`.

As I reported the bug in that issue, If I am using `contentInset` prop to the `FlatList`, making `contentOffset` value be always 0 when refreshing ends causes something wrong situation.

[iOS] [Fixed] - Fix setting the contnetOffset when refreshing ends
Pull Request resolved: https://github.com/facebook/react-native/pull/24191

Differential Revision: D14710987

Pulled By: sahrens

fbshipit-source-id: 03f06df9a93a2a46a7cc0b56269091778805917e

myntra/react-native,javache/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native,exponentjs/react-native,arthuralee/react-native,hoangpham95/react-native,hammerandchisel/react-native,hoangpham95/react-native,exponent/react-native,arthuralee/react-native,hammerandchisel/react-native,pandiaraj44/react-native,pandiaraj44/react-native,exponent/react-native,myntra/react-native,facebook/react-native,exponentjs/react-native,hammerandchisel/react-native,pandiaraj44/react-native,myntra/react-native,facebook/react-native,arthuralee/react-native,pandiaraj44/react-native,exponent/react-native,exponentjs/react-native,arthuralee/react-native,hammerandchisel/react-native,hammerandchisel/react-native,hammerandchisel/react-native,javache/react-native,hoangpham95/react-native,javache/react-native,myntra/react-native,exponentjs/react-native,exponentjs/react-native,hoangpham95/react-native,pandiaraj44/react-native,hoangpham95/react-native,myntra/react-native,exponent/react-native,javache/react-native,arthuralee/react-native,exponentjs/react-native,hammerandchisel/react-native,exponentjs/react-native,myntra/react-native,javache/react-native,pandiaraj44/react-native,facebook/react-native,pandiaraj44/react-native,facebook/react-native,myntra/react-native,facebook/react-native,myntra/react-native,exponent/react-native,janicduplessis/react-native,javache/react-native,myntra/react-native,hoangpham95/react-native,hoangpham95/react-native,janicduplessis/react-native,exponent/react-native,hammerandchisel/react-native,janicduplessis/react-native,exponentjs/react-native,javache/react-native,janicduplessis/react-native,facebook/react-native,exponent/react-native,facebook/react-native,exponent/react-native,hoangpham95/react-native,pandiaraj44/react-native,janicduplessis/react-native,javache/react-native,facebook/react-native,janicduplessis/react-native