File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ class Dialog extends Popup {
182
182
return true ;
183
183
}
184
184
185
+ get _displayProp ( ) {
186
+ return "flex" ;
187
+ }
188
+
185
189
get classes ( ) {
186
190
return {
187
191
root : {
Original file line number Diff line number Diff line change @@ -204,6 +204,10 @@ class Popup extends UI5Element {
204
204
return staticAreaStyles ;
205
205
}
206
206
207
+ get _displayProp ( ) {
208
+ return "block" ;
209
+ }
210
+
207
211
/**
208
212
* Prevents the user from interacting with the content under the block layer
209
213
*/
@@ -393,11 +397,11 @@ class Popup extends UI5Element {
393
397
}
394
398
395
399
/**
396
- * Sets "block" display to the popup
400
+ * Sets "block" display to the popup. The property can be overriden by derivatives of Popup.
397
401
* @protected
398
402
*/
399
403
show ( ) {
400
- this . style . display = "block" ;
404
+ this . style . display = this . _displayProp ;
401
405
}
402
406
403
407
@@ -417,7 +421,7 @@ class Popup extends UI5Element {
417
421
}
418
422
419
423
/**
420
- * Implement this getter with relevant logic regarding the modality of the popup (f.e . based on a public property)
424
+ * Implement this getter with relevant logic regarding the modality of the popup (e.g . based on a public property)
421
425
*
422
426
* @protected
423
427
* @abstract
You can’t perform that action at this time.
0 commit comments