Code Monkey home page Code Monkey logo

Comments (7)

georgehrke avatar georgehrke commented on August 26, 2024 4

AFAIK we can check if the browser supports it with:

const input = document.createElement('input');
input.setAttribute('type', 'color');
if (input.type === 'color) => supported

So I suggest to only display the color picker when its supported, but don't provide a fallback.

from calendar.

tcitworld avatar tcitworld commented on August 26, 2024

Color input is now supported by over 70% of users, including Safari 10 users. Time to get this in ? http://caniuse.com/#feat=input-color

from calendar.

georgehrke avatar georgehrke commented on August 26, 2024

That means we would have to drop Safari9 support, but I'm fine with that. (ref #67)
Safari 10 is also available on older OS X releases like yosemite, so it's not a big deal.

from calendar.

tcitworld avatar tcitworld commented on August 26, 2024

iOS is still an issue though.

from calendar.

Bullnados avatar Bullnados commented on August 26, 2024

Is this feature in 1.5.1 like in changelog written or is that for Milestone 1.6.0?
I ask cause i haven't an advanced color picker.

from calendar.

georgehrke avatar georgehrke commented on August 26, 2024

it only works in modern browsers, which one do you use?

from calendar.

Bullnados avatar Bullnados commented on August 26, 2024

52.0 64bit FF
But it seems that was an adblock issue.
Disabling-->Reload-->New Picker
Also with adblock enabled new picker still visible 👍

from calendar.

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.