-
Notifications
You must be signed in to change notification settings - Fork 162
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
Order in alphabet sidebar #20
Comments
Feel free to PR. And since I don't have much time to review, I am considering to transfer this repo. Are you interested? @marxsk |
@sunnylqm I'm willing to help improve this package, could u add me as a contributor? |
@sibelius welcome |
I came here to ask about alphabetic order as well. Either there should be a |
Hi,
thanks for a great component. I have found two minor issues and if they are bugs, I can try to fix them but it is possible that I have just overlooked something.
Let's assume that we will just copy an example from main page. When we switch lines in state.data, we can get situation where sidebar is not in alphabet order. For hash that were created outside of project, it is hard to put items in an alphabet order (and order of keys in hash is not defined in ECMAscript). Should these keys be ordered?
Some languages (e.g. Czech) uses letters in alphabet that consist of multiple characters (e.g Ch). Currently, this is badly displayed on two lines at sidebar, will you accept a PR that will support multi-character letters? For usage with previous automatic ordering, it is possible to use localeCompare() that handles this without any issues.
Thanks
The text was updated successfully, but these errors were encountered: