Skip to content

Need help calling color picker using onclick on a span. #124

Discussion options

You must be logged in to vote

Can't share the code because of NDA. But I fixed default color picker with 4 lines of code.
The thing was that the color type input field on iphone and mac can't be 'display:none;' or 0 sizes. So the solution was to make it work, and that solution is:
display: block !important; opacity: 0 !important; visibility: hidden !important; position: absolute !important;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@itpaksolution
Comment options

Answer selected by itpaksolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants