react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

Tab View inside Flatlist not shown content

Open gurbela opened this issue 3 years ago • 4 comments

Current behavior

When I switched tabs ( inside Flatlist) the content was not shown.

Without Flatlist it works fine, any ideas on how to fix it? (the scrollable view is required)

Expected behavior

current version: "react-native-pager-view": "5.4.25", "react-native-tab-view": "3.1.1",

I was also using the old version: "react-native-tab-view": "2.16.0", but when I rotate the phone, the scene view is not looking correctly, which is fixed in "3.1.1" version

Reproduction

https://snack.expo.dev/oPaWEf5_-

Platform

  • [X] Android
  • [X] iOS
  • [ ] Web
  • [ ] Windows
  • [ ] MacOS

Environment

package version
react-native-tab-view 3.1.1
react-native-pager-view 5.4.25
react-native 0.64.2

gurbela avatar Aug 08 '22 19:08 gurbela

Couldn't find version numbers for the following packages in the issue:

  • react-native

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

github-actions[bot] avatar Aug 08 '22 19:08 github-actions[bot]

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • react-native (found: 0.64.2, latest: 0.69.4)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

github-actions[bot] avatar Aug 08 '22 19:08 github-actions[bot]

This is fixed in https://github.com/satya164/react-native-tab-view/pull/1383 and it'll soon merged into main cc. @okwasniewski

szymonrybczak avatar Aug 30 '22 07:08 szymonrybczak

What's the point of embedding tab-view inside a flatlist? This looks really off to me by rendering in with renderItem. If you want to render tab-view inside scroll view you can refer to this solution: #1349.

okwasniewski avatar Sep 01 '22 11:09 okwasniewski

Closing this as stale.

okwasniewski avatar Nov 18 '22 14:11 okwasniewski