Closed pat270 closed 6 years ago
@pat270 Thanks.
Hey @duracell80, You can handle this before moving your list of items to Dropdown, it's an option. I see no need to create a specific resource for this. What do you think @carloslancha?
Hey @matuzalemsteles @duracell80 yeah, I don't feel like dropdown should be responsible of this kind of things. Items should be already passed in the desired order.
Thx!
I agree there. In cases where menus are not ordered though it would help increase usability and readability for the user if there was an option to control the order of the menus in the browser. Or if that was an ability a theme developer could tack on with a DOM script.
I realize this would be a low priority.
Short menus and application menus like "Edit", "Delete", "Export" not so much an issue ... but dynamic drop downs potentially containing lots of items such as "Document Type", "Web Content Structures" or even site navigation dropdowns where a section contains a huge list of sub pages; Having the ability to target a sort at those menus would be incredibly helpful.
Particularly on DXP right now for site navigation you'd have to manually drag and drop your site navigation into alphabetical order if you needed it that way as opposed to having an option right there to turn on sort.
@duracell80 in any case I think this is something to discuss with UX, to review current patterns, right now Lexicon doesn't support dropdown dynamic shorting feature, it does handle it in other ways (https://lexicondesign.io/docs/patterns/dropdowns.html), like for example filtering the items through searchbox.
I'm closing the issue for now but I've talked about your concerns with the Lexicon team.
Thx!
Hey Guys, I got a feature request on the Clay Repo that I think fits better here. See https://github.com/liferay/clay/issues/391.
/cc @duracell80