`overscroll-x-contain` should be the default for any horizontal scroll container on the web.
34.747 görüntüleme
`overscroll-x-contain` should be the default for any horizontal scroll container on the web.
by default sideways trackpad swipes trigger browser back navigation and users hate this
add this CSS and respect their intent
.scroll-container {
overscroll-behavior-x: contain;
}
Yorumlar
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır
Henüz yorum yok
