Code Monkey home page Code Monkey logo

Comments (8)

adriankast avatar adriankast commented on June 17, 2024

Which version of firefox are you using?
I have just checked with firefox 79.0 (64-bit) under windows and it works normal.
grafik

from playground.

adriankast avatar adriankast commented on June 17, 2024

With Firefox 76.0.1 (64-bit) under Ubuntu I can see the problem
grafik

from playground.

adriankast avatar adriankast commented on June 17, 2024

Could be more difficult to solve then I expected...
https://developer.mozilla.org/en-US/docs/Learn/Forms/Advanced_form_styling

from playground.

egekorkan avatar egekorkan commented on June 17, 2024

I am using 79.0 (64-bit) under Linux

from playground.

egekorkan avatar egekorkan commented on June 17, 2024

Given that it is a bigger problem, what about putting a small square filled with the intended color to the left of the text? Or any other method :)

from playground.

adriankast avatar adriankast commented on June 17, 2024

Unfortunately this is also not possible from what I found. I guess options would be:

  1. Add (valid), ... text after the example name. With a little more effort we could also do it only for Browser/OS combinations where the problem occurs (from what I have read, this could apply also for other browsers since it is not covered of W3C specs yet.)
  2. Rebuild the dropdown functionality, which would be probably most effort, but add not to much stuff and enable coloring.
  3. Using a framework (like Bootstrap but not only CSS) or a utility which only implements a custom dropdown. Would be not to much effort, but add unnecessary stuff or not be sure how sophisticated it works.

Any thoughts? :)

from playground.

egekorkan avatar egekorkan commented on June 17, 2024

I think the first option is the easiest and most user friendly in terms of being the most "communicative". This would be the behavior for all browsers though (makes it even easier).

from playground.

egekorkan avatar egekorkan commented on June 17, 2024

Deployed!

from playground.

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.