Giter VIP home page Giter VIP logo

Comments (3)

tay1orjones avatar tay1orjones commented on June 26, 2024

The option with the lengthy text string is so that we can validate the truncation ellipsis works as expected

Image

We could change this to be lower in the option list, but arguably this long string example should be present in figma to showcase the truncation ellipsis functionality to match storybook.

from carbon.

Kritvi-bhatia17 avatar Kritvi-bhatia17 commented on June 26, 2024

Yes, the long text is fine, and it's a smart idea to show the same in the Figma kit as well.

However, regarding the issue I mentioned: when the first option is deselected, the text should appear.
Let me confirm internally with the team if we want to simplify the interaction by always displaying the placeholder value.

Screen.Recording.2024-06-13.at.9.21.05.PM.mov

from carbon.

Kritvi-bhatia17 avatar Kritvi-bhatia17 commented on June 26, 2024

I realized the Select component's placeholder text has already been discussed with Michael (in this issue. He had specific reasons to remove the default "Choose an option" and add an empty default option.

For now, we can match the interaction with the Figma component. Initially, it should show a blank state, and when any other option is selected, the first option should become visible.

from carbon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.