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
Make trove classifiers accordion only open one tab at once #755
Comments
I created a branch which fixes this here: dabbdfe...di:fix-755 However, in doing so I noticed that this would introduce an issue with the UI that we probably don't want: Because some of the classifier lists are longer than the viewport, if one of them, such as "By Programming Language", is open:
@nlhkabu, thoughts? |
This is a really difficult problem and I'm not sure that I have a solution. My gut feeling is to pan the viewport back up to the activated accordion heading ala http://www.stampede-design.com/blog/demo/shaiful/large-accordion/large-accordion-fix.html In this case, a pan/scroll should be less abrupt than jumping to the position, which might help... although, like you, I'm not sure this will actually be better. Perhaps the solution then is to be content with allowing multiple accordion sections to be open at once and dropping this issue altogether? |
👍 from me. |
Ok, given your agreement @di, I am going to close this issue now. :) |
Currently you can view more than one section of trove classifiers at one time, for example, both
By Environment
andBy Framework
could be open.Given the potential length of the page, I think we should consider enforcing the closing of other sections when a new one is opened.
The text was updated successfully, but these errors were encountered: