Open JarrettChan opened 2 years ago
Hi @SAP/ui5-webcomponents-topic-p This issue is about long text being truncated in the Shellbar Popover. Perhaps it should be wrapping instead.
Hi @JarrettChan, according to the visual design of the component, the text inside the menu items should not wrap, but truncate as implemented. Please use the title
attribute to show a tooltip with the whole text when an item is hovered.
<ui5-li title="Very long text that truncate...">
Very long text that truncate...
</ui5-li>
Kind Regards, Dobrin
@dobrinyonkov , Ok I can probably control the menu popover ui5-li since I believe it's copied over from the [slot="menuSlot"] but not the overflow popover ui5-li since that's defined by ui5-shellbar https://github.com/SAP/ui5-webcomponents/blob/main/packages/fiori/src/ShellBarPopover.hbs
Please help with the ui5-li in the overflow popover
Hi @yanaminkova, @dobrinyonkov,
My a11y colleague rejected this solution as the tooltip is not visible to keyboard or touch users.
Could the overflow list use wrapping-type="Normal"
for an overflow title to be accessible to keyboard or touch users?
Bug Description
The
ui5-li
in popovers ofui5-shellbar
do not show the full text to the sighted user in some way. Affects menu popover, overflow shellbar items popover. Hover does not reveal the full text.Expected Behavior
User should be able to view the full non-truncated text in some way.
Steps to Reproduce
Isolated Example
https://codesandbox.io/s/ui5-webcomponents-forked-wi8vzt?file=/index.html
Context
Log Output / Stack Trace / Screenshots
Priority
The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:
Note: The priority might be re-evaluated by the issue processor.
Stakeholder Info (if applicable)