Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent sectionListHeader is overlaped by renderItem (Updated RN) #38248

Open
SaldanhaPrtt opened this issue Jul 7, 2023 · 6 comments
Open

Comments

@SaldanhaPrtt
Copy link

Description

Problem still persists after react native upgrade
When creating a SectionList component, if prop stickySectionHeadersEnabled=true, and it has no background, the child renderItem overlaps the header.
There seems to be no prop or logic that can resolve this problem.
So unfortunately, I must open this issue(or improvement)
untitled.webm

React Native Version

0.72.1

Output of npx react-native info

System:
OS: Windows 10 10.0.22000
CPU: "(12) x64 AMD Ryzen 5 5600X 6-Core Processor "
Memory: 7.40 GB / 15.89 GB
Binaries:
Node:
version: 16.15.1
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.19
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 8.11.0
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Visual Studio: Not Found
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.1
wanted: ^0.72.1
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

Steps to reproduce

Simply create a SectionList with sticky headers and no background color

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/@squidarrested/db76a1

@EduardoArtioli
Copy link

same here.

https://i.imgur.com/otH9Rp5.gif

otH9Rp5

@p1v44
Copy link

p1v44 commented Jul 20, 2023

Has anyone solved this yet? My team and I are lost lol

@mouricef
Copy link

Facing same issue. Any workaround or fix for this

@ser-emejia
Copy link

Any updates? still happen

@react-native-bot
Copy link
Collaborator

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Sep 11, 2024
@eemebarbe
Copy link

just set the stickySectionHeadersEnabled prop to false

@react-native-bot react-native-bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants