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

[Feature Request]: ui5-color-picker option to disable transparency #9979

Open
1 task done
brandon-sap opened this issue Oct 3, 2024 · 1 comment
Open
1 task done

Comments

@brandon-sap
Copy link
Member

Feature Request Description

The ability to disable transparency. Hide transparency controls in the user interface.

Proposed Solution

Maybe something like a "hide-transparency" attribute.

image

The left is how it looks by default, the right might be what it looks like when transparency is hidden. Doesn't really matter to me exactly how it looks, you guys can figure out a way to make it look good!

Proposed Alternatives

Currently using a very outdated library. It's a great color picker, but it's so outdated that it's finally begun to cause us issues.

Organization

SAP

Additional Context

We need this for an email editor. Not all email clients support transparency (Outlook on Windows). Outlook simply ignores colors defined with rgba(). We could fallback to removing the alpha after the color has been picked, but that significantly changes the color!

Here is some HTML with some background color and 2 pieces of content with the same color other than transparency. It's displayed in Chrome on the left, and Outlook on the right. It's not email HTML, so Outlook doesn't render it well, but the color is the important thing. Notice the difference in the colors within Chrome. Simply removing the transparency is a significant change! (Especially since there's a light grey background). In Outlook, the rgba content has no color at all. You only see the grey background under that text.

{8E85A653-5270-4C9F-8A68-1BD580ABE7B5}

As a result, we must be able to hide/disable transparency in our color pickers. It's quite a shock to have your colors change this much!

We're not currently using this color picker, but it and the palette seem very nice, very similar to the one that we use, currently, so I'd love to switch! But this is a show stopper.

Priority

Low

Privacy Policy

  • I’m not disclosing any internal or sensitive information.
@LidiyaGeorgieva
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-p, take a look of this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants