@salesforcedevs/dx-components 1.40.5-topic-alpha.7 → 1.40.5-topic-alpha.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.40.5-topic-alpha.7",
3
+ "version": "1.40.5-topic-alpha.8",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -4,13 +4,19 @@
4
4
  display: block;
5
5
  }
6
6
 
7
+ /* Always positioned, so a picker menu keeps the same anchor when focus
8
+ leaves. Toggling position on focus moved the closing menu up the page. */
9
+ :host {
10
+ position: relative;
11
+ }
12
+
7
13
  /* Lift this row above later sibling pickers while its menu is open. */
8
14
  :host(:focus-within) {
9
- position: relative;
10
15
  z-index: 2;
11
16
  }
12
17
 
13
18
  .tree-item-row {
19
+ position: relative;
14
20
  display: flex;
15
21
  align-items: center;
16
22
  min-width: 0;
@@ -21,7 +27,6 @@
21
27
  focus is inside: a row that is always isolated traps its picker's menu, and
22
28
  later rows cover the menu while it fades out after a click outside. */
23
29
  .tree-item-row:focus-within {
24
- position: relative;
25
30
  isolation: isolate;
26
31
  }
27
32