Skip to content

Commit f53aea1

Browse files
authored
Fix z-index of map layers settings popup. (#1070)
* Fix z-index of map layers settings popup * Add change log and TODO comment
1 parent 00121e4 commit f53aea1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Fix z-index of map layers settings popup",
4+
"packageName": "@itwin/map-layers",
5+
"email": "wil.maier@bentley.com",
6+
"dependentChangeType": "patch"
7+
}

packages/itwin/map-layers/src/ui/widget/MapLayerSettingsPopupButton.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
$hovered-icon-color: $buic-foreground-primary;
88

99
.maplayers-settings-popup {
10-
z-index: 900; // Used to be higher, but we want this be less than modal dialog z-index
10+
/* TODO: z-index workaround while map-layers-react is using the deprecated Popup component from core-react */
11+
z-index: 6001; /* one more than floating widget */
1112
}
1213

1314
.maplayers-settings-popup-panel {

0 commit comments

Comments
 (0)