ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ui5-popover:Hope to set the left/right minimum position of popover to 10px instead of 0

Open SherrySherry123 opened this issue 6 years ago • 1 comments

I am from Successfactors , and we are using ui5 webcomponent to build our own app. Could you please help to implement the minimum position of popover? We hope its behavior to keep align with ui5.

Describe the bug We hope that the left/right minimum position of popover is 10px instead of 0;

To reproduce Steps to reproduce the behavior:

  1. Create one popover with placementType = Bottom;
  2. Open the popover and adjust the screen size;
  3. When there is no enough space to display the popover, the popover's left/right position will be set as 0. Which looks not that friendly from the UX perspective; So we hope there is a preserved space(10px); image

Expected behavior We hope the left/right minimum position of popover is 10px; I checked the UI5 component(sap.m.Popover) and attached screenshot.It looks like the preserved left/right position of sap.m.Popover is 10px, we hope to keep align with it. https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/Popover.js image

SherrySherry123 avatar May 20 '20 08:05 SherrySherry123

Hi colleague,

Anyone can help to take a look at this issue? Looking forward to your response.

Regards, Sherry

SherrySherry123 avatar May 27 '20 07:05 SherrySherry123