question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

removeClippedSubviews={true} in scrollview - view not visible when changed tab

See original GitHub issue

removeClippedSubviews={true} in scrollview - view not visible when changed tab

When launched an app for the first time the scroll view is visible but when I change the tab i.e. perform any navigation the scroll view is not visible until it is scrolled

removeClippedSubviews={true} using this as true makes my scroll view perform faster the only issue is that the view gets hidden sometimes on the navigation

FYI: removeClippedSubviews={false} doesn’t reproduce the hidden issue but degrades the performance

Any idea how to fix hidden issue while having removeClippedSubviews={true} ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Orange9000commented, Nov 18, 2021

FYI, if you search the issue history, this is atleast 4 year old react-native bug.

1reaction
safaiyehcommented, Jan 9, 2021

@krunalbad thank you for the issue. Can you make sure to follow the template and provide a repro of the issue. Closing for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common bugs in React Native ScrollView and how to fix them
removeClippedSubviews – A Boolean that, when enabled (it's false by default), detaches views that are outside the viewport from the native view ......
Read more >
Listview does not scroll inside scrollview ... - Stack Overflow
The result am getting now is listview inside tabs are not scrolling. when I enable scroll on parent scrollview the whole layout will...
Read more >
ScrollView - React Native
When true, the scroll view bounces horizontally when it reaches the end even if the content is smaller than the scroll view itself....
Read more >
ScrollView · React Native 中文
When true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination. The...
Read more >
react-native-tab-view - npm
When true , the scroll view bounces when it reaches the end of the content. The default value is false . Using with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found