Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SquareWheel
on Jan 14, 2025
|
parent
|
context
|
favorite
| on:
A couple CSS tricks for HTML Dialog elements
I used this same approach in a recent web app and it worked great. You can also use scrollbar-gutter: stable, which disables scrolling but maintains the preserved space to avoid content reflows.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: