salesforce-ux / design-system-ui-kit

Lightning Design System UI Kit
377 stars 87 forks source link

Picklist missing from Figma SLDS UI Kit #41

Open courtbee opened 4 years ago

courtbee commented 4 years ago

The picklist component is not available. picklist

courtbee commented 4 years ago

I'm not sure if this is remotely helpful but I threw together a picklist component quickly using the CSS in the Lightning Design System documentation.

https://www.figma.com/file/NQ5aetOFZAB3KiKNtyKe3X/Components-Web-Lightning-Design-System-Community?node-id=7%3A117

Not sure if this needs to go in its own issue but all of the examples for the picklist in the design system docs show only 3 options in the drop-down list. Looking at the code, the direct parent div of the ul list has overflow-y set to auto and a max-height of 12.5rem.

When a picklist extends past the max-height, is there a scrollbar present to visually show the overflow? I don't have my test environment 100% and I'm still very much a SalesForce newbie. Can I get some clarification on how overflow works visually with the picklist in terms of how it is presented in the design docs?

Thank you! :)