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

DatePicker: The popover cannot show due to small z-index

Open SunnyWind opened this issue 6 years ago • 4 comments

Describe the bug The popover containing the calendar cannot show when the background has a large z-index.

Isolated Example https://498fm.csb.app/

Screenshots The button is pressed, but the popover doesn't show. image

SunnyWind avatar Jun 30 '20 05:06 SunnyWind

As the DatePicker is developed by our colleagues from UI5 Web Components, I'll forward this issue to their repository.

Best regards, Marcus

MarcusNotheis avatar Jun 30 '20 06:06 MarcusNotheis

@SunnyWind sure but is this is a real scenario that you need z-index bigger than 100, the popover starts from z-index: 100. For example, can you set 10 or 50 to your page?

ilhan007 avatar Jun 30 '20 10:06 ilhan007

Hello @SunnyWind I am closing the issue due to inactivity, don't hesitate to reopen it anytime.

ilhan007 avatar Jul 01 '20 10:07 ilhan007

Hello @SunnyWind I am closing the issue due to inactivity, don't hesitate to reopen it anytime.

Hi @ilhan007 ,

The product I'm working on set the z-index of the modal dialog to 1000+. I admit it's not a good practice. However, it's an old and large project, and I cannot modify the code rashly, which may cause a regression on other UI.

Is it possible that the component provides an interface to change the z-index of the popover?

Thanks

SunnyWind avatar Jul 09 '20 02:07 SunnyWind