Skip to content

ListHeaderComponent in SectionList is not sticky #20809

Closed
@max-zu

Description

@max-zu

Environment

  React Native Environment Info:
    System:
      OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
      CPU: x64 Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
      Memory: 153.75 MB / 15.36 GB
      Shell: 4.4.19 - /bin/bash
    Binaries:
      Node: 10.9.0 - /usr/bin/node
      Yarn: 1.9.4 - /usr/bin/yarn
      npm: 6.2.0 - /usr/bin/npm
    npmPackages:
      react: ^16.3.1 => 16.4.1 
      react-native: 0.56.0 => 0.56.0 
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1

Description

ListHeaderComponent is not sticky and it scrolls as other Section Headers. How to fix it on top of the list ?

Reproducible Demo

https://snack.expo.io/HkRGmWhIX

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions