Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hide/reveal wheel ( slider callback interfere's) #56

Closed
ojazdowski opened this issue Mar 12, 2019 · 1 comment
Closed

How to hide/reveal wheel ( slider callback interfere's) #56

ojazdowski opened this issue Mar 12, 2019 · 1 comment
Assignees
Labels

Comments

@ojazdowski
Copy link

Hi! Thanks for all you've done and achieved here. Great project and a great API! I'd like to have the option to hide and reveal the color wheel. I followed the FAQs and can now do both with CSS . I can hide it. I can reveal it. But if I hide the wheel and then move the slider the wheel is automatically revealed again ( must be overriding my css?) Any suggestions? Many Thanks

@jaames jaames self-assigned this Mar 12, 2019
@jaames
Copy link
Owner

jaames commented Mar 12, 2019

Hey! Thank you for the kind words!

You can hide the wheel with CSS by doing something like this -- the key is to force display: none with !important:

.iro__wheel {
    visibility: hidden;
    pointer-events: none;
    display: none !important;
    height: 0;
}

I may consider some way to show/hide the color picker components from the API though. :)

@jaames jaames closed this as completed Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants