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

Allow adding a stick subheader component in MODAL list mode #730

Open
lucasbasquerotto opened this issue Nov 7, 2023 · 0 comments
Open

Comments

@lucasbasquerotto
Copy link

Currently, I can add a subheader with:

<DropDownPicker
    listMode="MODAL"
    flatListProps={{ ListHeaderComponent: () => <MyComponent />}
    ...
/>

I want to be able to add a stick subheader. It will show any error that may happen when the user select an option in the stick header, even when the user had scrolled, otherwise (the way it is today) the user may not see the error and not understand what is happening.

The flatListProps has an option StickyHeaderComponent, but it does nothing (maybe it's overwritten by the DropDownPicker component own header; if this is the case, it could just add this property, when defined, as a child).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant