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

fix(ui5-combobox, ui5-multicombobox): center ValueState text #2733

Merged
merged 5 commits into from
Jan 27, 2021

Conversation

ndeshev
Copy link
Contributor

@ndeshev ndeshev commented Jan 26, 2021

ValueState text is now vertically centered in the Popover's header.

Issue: #2274

ValueState text is now vertically centered in the ResponsivePopover of
the suggestions.

Issue: SAP#2274
Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the ResponsivePopover.css styles take effect in input with suggestions, combobox, multi combobox, multi input, select and all date-time components, I think the value state text alignment of the text should be checked for them as well.
(1) Check if this is a bug only in the ComboBox
and
(2) make sure the fix won't break the rest of the components.

@ndeshev ndeshev changed the title fix(ui5-combobox): center ValueState message text fix(ui5-combobox, ui5-multicombobox): center ValueState message text Jan 26, 2021
@ndeshev ndeshev changed the title fix(ui5-combobox, ui5-multicombobox): center ValueState message text fix(ui5-combobox, ui5-multicombobox): center ValueState text Jan 26, 2021
@ndeshev
Copy link
Contributor Author

ndeshev commented Jan 26, 2021

The issue was also present in MultiComboBox, I added a fix for it and reverted back the previous value of the responsive popover's header CSS height param.

Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works for single line, but not for the valueStateMessage slot. I guess it is the line-height

Screenshot 2021-01-27 at 1 15 34 PM

@ilhan007 ilhan007 merged commit b2c770a into SAP:master Jan 27, 2021
alexandar-mitsev pushed a commit to alexandar-mitsev/ui5-webcomponents that referenced this pull request Feb 1, 2021
ValueState text is now vertically centered in the Popover's header.

Fixes: SAP#2274
NHristov-sap pushed a commit to NHristov-sap/ui5-webcomponents that referenced this pull request Feb 9, 2021
ValueState text is now vertically centered in the Popover's header.

Fixes: SAP#2274
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants