diff --git a/.changeset/dropdown-panel-z-index.md b/.changeset/dropdown-panel-z-index.md deleted file mode 100644 index 23c934c..0000000 --- a/.changeset/dropdown-panel-z-index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@perimetre/ui': patch ---- - -fix(FieldBaseDropdown): give the options panel a z-index so it can be tapped - -The panel is portalled to the end of `` and carried `z-index: auto`, so -any page section with an explicit z-index painted over it — the options were -visible but not hit-testable, and taps landed on the section instead. It only -surfaced on short viewports, where floating-ui has no room below the trigger and -flips the panel up into the content above it, so it read as a mobile/touch-only -bug. diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index c86e5db..8f6bf09 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,18 @@ # @perimetre/ui +## 16.13.1 + +### Patch Changes + +- fcd0c6e: fix(FieldBaseDropdown): give the options panel a z-index so it can be tapped + + The panel is portalled to the end of `` and carried `z-index: auto`, so + any page section with an explicit z-index painted over it — the options were + visible but not hit-testable, and taps landed on the section instead. It only + surfaced on short viewports, where floating-ui has no room below the trigger and + flips the panel up into the content above it, so it read as a mobile/touch-only + bug. + ## 16.13.0 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index e02d8a1..c7c23a0 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -122,5 +122,5 @@ ], "type": "module", "types": "./dist/index.d.ts", - "version": "16.13.0" + "version": "16.13.1" }