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

DynamicSizeList direction #25

Open
koox00 opened this issue Jul 7, 2021 · 0 comments
Open

DynamicSizeList direction #25

koox00 opened this issue Jul 7, 2021 · 0 comments

Comments

@koox00
Copy link

koox00 commented Jul 7, 2021

Currently DynamicSizeList assumes we want to render the first item at the bottom (L759).
This makes it cumbersome for lists that should display the first item at the top, since we need to reverse the items prior to feeding them to the list (see mattermost/mattermost-webapp#8350).

I would like to propose adding a direction: upwards|downwards or maybe order: asc|desc prop to handle both cases.

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