@stasho/ds 0.13.0 → 0.13.1

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": "@stasho/ds",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "stasho design system",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -193,7 +193,9 @@ type OverflowTriggerProps = {
193
193
 
194
194
  const OverflowTrigger = forwardRef<HTMLButtonElement, OverflowTriggerProps>(
195
195
  ({ isPill, isSmall, hiddenTabs, hasActiveHidden, visible }, ref) => (
196
- <DropdownMenu.Root>
196
+ // Non-modal: Radix's modal scroll-lock pads <body> for the missing
197
+ // scrollbar, visibly shifting/squeezing the page on mobile viewports.
198
+ <DropdownMenu.Root modal={false}>
197
199
  <DropdownMenu.Trigger asChild>
198
200
  <button
199
201
  ref={ref}