File tree 4 files changed +21
-1
lines changed
4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import CalendarDate from "@ui5/webcomponents-localization/dist/dates/CalendarDat
11
11
import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js" ;
12
12
import getEffectiveAriaLabelText from "@ui5/webcomponents-base/dist/util/getEffectiveAriaLabelText.js" ;
13
13
import { isShow , isF4 } from "@ui5/webcomponents-base/dist/Keys.js" ;
14
- import { isPhone } from "@ui5/webcomponents-base/dist/Device.js" ;
14
+ import { isPhone , isIE } from "@ui5/webcomponents-base/dist/Device.js" ;
15
15
import { fetchI18nBundle , getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js" ;
16
16
import "@ui5/webcomponents-icons/dist/icons/appointment-2.js" ;
17
17
import "@ui5/webcomponents-icons/dist/icons/decline.js" ;
@@ -661,6 +661,10 @@ class DatePicker extends UI5Element {
661
661
return this . phone ;
662
662
}
663
663
664
+ get _isIE ( ) {
665
+ return isIE ( ) ;
666
+ }
667
+
664
668
getFormat ( ) {
665
669
if ( this . _isPattern ) {
666
670
this . _oDateFormat = DateFormat . getInstance ( {
Original file line number Diff line number Diff line change 4
4
stay-open-on-scroll =" {{ _respPopoverConfig.stayOpenOnScroll }} "
5
5
placement-type =" Bottom"
6
6
horizontal-align =" Left"
7
+ ?disable-scrolling =" {{ _isIE }} "
7
8
no-arrow
8
9
with-padding
9
10
no-stretch
Original file line number Diff line number Diff line change @@ -129,6 +129,17 @@ const metadata = {
129
129
type : Boolean ,
130
130
} ,
131
131
132
+ /**
133
+ * Defines whether the content is scrollable.
134
+ *
135
+ * @type {boolean }
136
+ * @defaultvalue false
137
+ * @private
138
+ */
139
+ disableScrolling : {
140
+ type : Boolean ,
141
+ } ,
142
+
132
143
/**
133
144
* Sets the X translation of the arrow
134
145
*
Original file line number Diff line number Diff line change 80
80
: host (: not ([header-text ])) .ui5-popup-header-text {
81
81
display : none;
82
82
}
83
+
84
+ : host ([disable-scrolling ]) .ui5-popup-content {
85
+ overflow : hidden;
86
+ }
You can’t perform that action at this time.
0 commit comments