question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Ability to disable alpha

See original GitHub issue

It would be very nice to be able to pass a prop to the color picker to remove the alpha sliders and text boxes, when I want to restrict the possible value selected to RGB, not RGBA. If the ability already exists, I have not managed to find it in the documentation.

I’m thinking it would work something like: <ColorPicker disableAlpha='true' />

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:10
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
casesandbergcommented, Jun 9, 2016

This has been merged in and is available on Sketch and Chrome Pickers in react-color@2.2.0 🐬

3reactions
rnicholuscommented, Aug 9, 2017

Since it’s a boolean, this should work too <ChromePicker disableAlpha />

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ability to disable alpha contribution for CoronaVolumeMtl
Ability to disable alpha contribution for CoronaVolumeMtl ... It looks like using a CoronaVolumeMtl will also affect alpha channel, there's no way ...
Read more >
Alpha Mask Support - Adobe XD: Feature Requests - UserVoice
Alpha Mask Support. Having the ability to use a mask with opacity is pretty basic. This feature has been in Illustrator since the...
Read more >
Support for Alpha, Beta, Limited Availability, and Generally ...
Propose functionality by submitting a feature request. Join First Look to help shape new features. Feature availability and product trials. View pricing to...
Read more >
How to submit a Feature Request And/Or Ask a Question
I would love to have the ability to press and delete button and the swipe left to highlight letters or words to delete...
Read more >
Hammer Feature Requests - Valve Developer Community
This page is for posting feature requests for the Hammer level editor. ... Toggle is already a sufficient 'remove from selection' ability, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found