Git Product home page Git Product logo

cofferhub / react-native-section-alphabet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kieran-mcintyre/react-native-section-alphabet-list

16.0 16.0 7.0 1.23 MB

A simple React Native component that takes an array of data and renders a section with alphabetically sorted data

Home Page: https://www.npmjs.com/package/react-native-flatlist-alphabet

License: MIT License

JavaScript 20.19% Starlark 3.21% Java 4.39% Ruby 4.65% Objective-C 6.99% TypeScript 60.58%
alphabet-list contact-list native-component react-native typescript-react-components

react-native-section-alphabet's People

Contributors

dheysonalves avatar kieran-mcintyre avatar mananruck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-section-alphabet's Issues

[BUG] List is slow to update

When testing, got a console warning:

VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc. {"contentLength": 10500.1904296875, "dt": 785, "prevDt": 1160}

Add OnScroll Prop to the alphabet list

Expected Behavior

There should be a onscroll prop for getting the scrolling event.

Actual Behavior

No props for scroll event, Onscroll prop like flat list

Typo in README

You spelt "yarn" wrong as below

yard add react-native-flatlist-alphabet

:-)

Data is not updating dynamically

Expected Behavior

If we change data source at run time Section list should dynamically updated

Actual Behavior

Currentlyif we change data source section list is not getting current data

Do you have any suggestion?

Hey there!

Do you have any suggestion for this repository?

Join us with this discussion. Feel free to comment on anything related to improving this component.

After Adding large data alphabet list is not working as per index selection

Expected Behavior

After adding more than 2000 data list should show data as per letter selected

showing

Actual Behavior

After adding more than 2000 data into the
list it started breaking when we press letter after 'C' it shows blank no data

notShowing

Steps to Reproduce the Problem

1.Add data more than 200

Any sort of help is really appreciated
@dheysonalves can you please take a note as this package is really help full but this issue gets me stuck

Stick SectonHeader while scrolling

Expected Behavior

The SectionHeader Should stick in the top while scrolling the respected section.
https://camo.githubusercontent.com/2fa65d582007299c12649ec99c057fec921dbf14c44d213cf35acd95cfae443d/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f53414373684d7a4d4950324e7650387276592f67697068792e676966
the above GIF shows it is implemented

Actual Behavior

Working fine in IOS but in android, the whole sectionHeader got scrolled.

  • Can you please guide me on how it is implemented in IOS so that I can replicate that in android as well.
    Thanks in Advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.