We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e282fc8 commit d6ffa48Copy full SHA for d6ffa48
packages/main/src/Popup.js
@@ -204,6 +204,13 @@ class Popup extends UI5Element {
204
return staticAreaStyles;
205
}
206
207
+ /**
208
+ * Prevents the user from interacting with the content under the block layer
209
+ */
210
+ _onBlockLayerKeyDown(event) {
211
+ event.preventDefault();
212
+ }
213
+
214
/**
215
* Temporarily removes scrollbars from the body
216
* @protected
packages/main/src/PopupBlockLayer.hbs
@@ -1 +1,6 @@
1
-<div class="ui5-block-layer" ?hidden={{_blockLayerHidden}} style="{{styles.blockLayer}}"></div>
+<div class="ui5-block-layer"
2
+ ?hidden={{_blockLayerHidden}}
3
+ tabindex="1"
4
+ style="{{styles.blockLayer}}"
5
+ @keydown="{{_onBlockLayerKeyDown}}">
6
+</div>
0 commit comments