TestId are not visible under ScrollView but can be located if its changed to View

Its a React Native app.
If the content is under ScrollView, the appium inspector doesn’t identify the individual elements. It shows the entire page as inspectable and accessibility id= content rendered on the page
if I change it to View, I can inspect each element and testId are shown correctly for accessibility id