@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
|
@@ -193,7 +193,9 @@ type OverflowTriggerProps = {
|
|
|
193
193
|
|
|
194
194
|
const OverflowTrigger = forwardRef<HTMLButtonElement, OverflowTriggerProps>(
|
|
195
195
|
({ isPill, isSmall, hiddenTabs, hasActiveHidden, visible }, ref) => (
|
|
196
|
-
<
|
|
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}
|