This is a migrated thread and some comments may be shown as answers.

DatePicker Calendar Displays Below Window When DatePicker Is Placed in the Window Wrapper

2 Answers 446 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Alice
Top achievements
Rank 2
Alice asked on 03 Dec 2018, 10:08 PM

Hi,

I'm not sure if this is best placed in the wrapper forum or the general forum, but my problem is that when I place a Kendo React DatePicker inside a Kendo Window React Wrapper, the calendar is displayed below the window when the user tries to change the date.

Example: https://react-emp7kp.stackblitz.io/

Code: https://stackblitz.com/edit/react-emp7kp

If I use the DatePicker wrapper instead, it works fine.

Thanks,

Alice

2 Answers, 1 is accepted

Sort by
0
Alice
Top achievements
Rank 2
answered on 03 Dec 2018, 10:11 PM
0
Stefan
Telerik team
answered on 04 Dec 2018, 11:40 AM
Hello, Alice,

The issue occurs due to the difference in the z-index value of the Window and the Popup of the DatePicker.

The following CSS will fix it:

.k-window {
  z-index: 99 !important;
}

or

.k-animation-container {
  z-index: 10005 !important;
}

I noticed another issue when the icon in the DatePicker is clicked that will not close it. This is due to the Window getting the focus.

We are working on the native Window component that is already in the test stage, and we can recommend waiting for it if it is possible.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Wrappers for React
Asked by
Alice
Top achievements
Rank 2
Answers by
Alice
Top achievements
Rank 2
Stefan
Telerik team
Share this question
or