0

I used below code of color picker,

<input type="color" value="#000000" onChange="changeTextColor()">

This is showing as a textbox with color hex value in Safari browsers in iPhone. No color palette is showing on clicking it. Is there any alternative that should work in all mobile browsers?

Preetam Jadakar
  • 4,479
  • 2
  • 28
  • 58
Nidhish
  • 361
  • 1
  • 3
  • 17

1 Answers1

1

Read the documentation, <input type="color"> is not supported in Mobile Safari. If you want to go for a cross-browser solution, there are multiple solutions available. See this question for other libraries.

Community
  • 1
  • 1
Raptor
  • 53,206
  • 45
  • 230
  • 366