Something went wrong. Try again.
shadcn-ui for Phoenix shadix.workinghypothes.is
elixir phoenix shadcn
Something went wrong. Try again.
fix(components): dialog scroll-lock compensates for scrollbar width master
Locking body scroll (overflow: hidden) removes the viewport scrollbar, which shifts the page content — and any fixed/centered dialog — horizontally by the scrollbar width. Compensate by reserving the scrollbar width as padding-right on <body> while locked, and reset it on close/destroy. Mirrors Radix/shadcn. Regenerates the dialog registry manifest.
Author Tao Bojlén Date (Jun 20, 2026, 4:10 PM UTC) Commit e07ce255 e07ce255bcb420f3aaca0c7b35287e7db71bdc24 Parent 0bc8a8f0 0bc8a8f0642fc95ee6ce2cdd605d253117e06824