Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Input type "color" not working in Safari on iPhone

Hello everyone, in my website I need to give users the ability to choose a color via input type=“color”.
I don't understand why it works fine on desktop (even on Safari for Mac) but doesn't open the color picker on iPhone. How can I solve this?

Thank you,
Andrea

There is an issue on IOs, you need to set focus() first, and after call the click, after that, should work

Input type "color" not working in Safari on iPhone
 
 
Q