-
Notifications
You must be signed in to change notification settings - Fork 35
Add dim background color to select element popup #294
base: xenial
Are you sure you want to change the base?
Conversation
First, thanks to @lduboeuf for this implementation! This is a great looking way to handle these menus, much easier to interact with than the tiny box that shows up in Demo Browser. However I am curious why the dimming of the background was disabled? On a white page it makes the select dialogue look very undefined... I think at a minimum there should be a border to define the popup, or just letting the site be dimmed which I personally like. Pictures to follow.
We should ask UX team if ok with default opaque bg color for dropdown, this was only my personnal opinion. cc @cibersheep ? Or we need to change Popup component in ui toolkit a bit to allow the background customization. |
Interesting question. The default opacity depends on the size of the screen. On mobile is too dark to see what we are selecting in the pop up but it's the standard behaviour (the toolkit expects it underneath that's why the border is so subtle). Eather go with standard or as lduboeuf says: a less dark layer |
@cibersheep , see PR ubports/ubuntu-ui-toolkit#68 for allowing customization of the background color |
I don't think we should let change the color of the background dim but the opacity. |
@cibersheep why not ? If any apps ( others than the core ones ) want to play with a different style, as we can both set color and opacity with the color property |
I see your point. I might have been too afraid of people :) |
@Gliba, could you please edit the PR title to be more precise, e.g "add dim background color to dropdowns" ? |
Old PR but can't we use Popup/Dialog from qqc2? I think they are more flexible and the dimming isn't as opaque as in UITK. Actually, this is more of a general question because I have things in mind where I intend to use qqc2 instead of UITK. |
Is this good too merge @cibersheep ? |
We have changed the SuruDark Dialog colors recently ubports/ubuntu-ui-toolkit#98 |
Can you please update the branch in this PR according to this comment @giiba ? Thanks. |
First, thanks to @lduboeuf for this implementation! This is a great looking way to handle these menus, much easier to interact with than the tiny box that shows up in Demo Browser.
However I am curious why the dimming of the background was disabled? On a white page it makes the select dialogue look very undefined... I think at a minimum there should be a border to define the popup, or just letting the site be dimmed which I personally like.
My suggestion:
As exists now:
I know there is a slight border, but it doesn't feel like enough. Just a suggestion.