Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit 76c5ab6

Browse files
committed
fix: Date picker pop up appears underneath the modal window #15
1 parent f35332e commit 76c5ab6

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

src/Vue3DatePicker/style/components/_DatepickerInput.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.dp__input_wrap {
22
position: relative;
33
width: 100%;
4+
box-sizing: unset;
45
}
56

67
.dp__input {

src/Vue3DatePicker/style/components/_DatepickerMenu.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
font-size: $dp__font_size;
88
user-select: none;
99
border: 1px solid var(--dp-border-color);
10-
z-index: 1;
10+
z-index: 99999;
11+
box-sizing: unset;
1112
}
1213

1314
.dp__arrow_top {

src/Vue3DatePicker/style/components/_SelectionGrid.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
top: 0;
88
left: 0;
99
transition: opacity 1s ease-out;
10-
z-index: 2;
10+
z-index: 99999;
1111
font-family: $dp__font_family;
1212
color: var(--dp-text-color);
13+
box-sizing: unset;
1314
}
1415

1516
.dp__overlay::-webkit-scrollbar-track {

src/Vue3DatePicker/style/components/_TimeInput.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
user-select: none;
77
font-family: $dp__font_family;
88
color: var(--dp-text-color);
9+
box-sizing: unset;
910
}
1011

1112
.dp__time_col {

0 commit comments

Comments
 (0)