@cocso-ui/react 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -136,7 +136,11 @@ function DateTimePicker({
|
|
|
136
136
|
return "";
|
|
137
137
|
},
|
|
138
138
|
disabled: disabled,
|
|
139
|
-
filterTime: filterTime
|
|
139
|
+
filterTime: filterTime
|
|
140
|
+
// Six weeks always, for the same reason as DayPicker: a five-week month made
|
|
141
|
+
// the panel shorter, and paging into a six-week one could flip it above the trigger.
|
|
142
|
+
,
|
|
143
|
+
fixedHeight: true,
|
|
140
144
|
inline: true,
|
|
141
145
|
locale: locale$1,
|
|
142
146
|
maxDate: maxDate,
|
|
@@ -64,7 +64,13 @@ function DayPicker({
|
|
|
64
64
|
}
|
|
65
65
|
return "";
|
|
66
66
|
},
|
|
67
|
-
disabled: disabled
|
|
67
|
+
disabled: disabled
|
|
68
|
+
// Always draw six weeks. A month spans five or six rows, so the panel's
|
|
69
|
+
// height changed while paging months, and the Popover positioner, seeing a
|
|
70
|
+
// taller panel with too little room below, flipped it above the trigger
|
|
71
|
+
// mid-interaction. A fixed height keeps the panel where it opened.
|
|
72
|
+
,
|
|
73
|
+
fixedHeight: true,
|
|
68
74
|
inline: true,
|
|
69
75
|
locale: locale$1,
|
|
70
76
|
maxDate: maxDate,
|
|
@@ -132,7 +132,11 @@ function DateTimePicker({
|
|
|
132
132
|
return "";
|
|
133
133
|
},
|
|
134
134
|
disabled: disabled,
|
|
135
|
-
filterTime: filterTime
|
|
135
|
+
filterTime: filterTime
|
|
136
|
+
// Six weeks always, for the same reason as DayPicker: a five-week month made
|
|
137
|
+
// the panel shorter, and paging into a six-week one could flip it above the trigger.
|
|
138
|
+
,
|
|
139
|
+
fixedHeight: true,
|
|
136
140
|
inline: true,
|
|
137
141
|
locale: locale,
|
|
138
142
|
maxDate: maxDate,
|
|
@@ -60,7 +60,13 @@ function DayPicker({
|
|
|
60
60
|
}
|
|
61
61
|
return "";
|
|
62
62
|
},
|
|
63
|
-
disabled: disabled
|
|
63
|
+
disabled: disabled
|
|
64
|
+
// Always draw six weeks. A month spans five or six rows, so the panel's
|
|
65
|
+
// height changed while paging months, and the Popover positioner, seeing a
|
|
66
|
+
// taller panel with too little room below, flipped it above the trigger
|
|
67
|
+
// mid-interaction. A fixed height keeps the panel where it opened.
|
|
68
|
+
,
|
|
69
|
+
fixedHeight: true,
|
|
64
70
|
inline: true,
|
|
65
71
|
locale: locale,
|
|
66
72
|
maxDate: maxDate,
|