惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
N
Netflix TechBlog - Medium
Vercel News
Vercel News
F
Fortinet All Blogs
量子位
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
GbyAI
GbyAI
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
月光博客
月光博客
Recent Announcements
Recent Announcements
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
D
DataBreaches.Net
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
D
Docker
WordPress大学
WordPress大学

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your site does not need to function the same on every pla...
Leo · 2026-06-26 · via DEV Community

Leo

Honesty time: somewhere this quarter, you absolutely shoved a swipe handler into a desktop layout because someone in the meeting said the experience should feel consistent. (We've all shipped it. It's fine. It's not fine.) The version of you who did that is the one Bramus is writing to in his new post, and the verdict is overdue.

The piece's frame is a callback. Per the source, the community-built single-purpose site dowebsitesneedtolookexactlythesameineverybrowser.com is what dragged the field, kicking, into accepting that pixel-perfect cross-browser parity was a fantasy. Progressive enhancement won. Cool. Bramus's argument is that we have rebuilt the same trap one floor up: the demand now is that sites must function exactly the same on every platform, regardless of input. Same disease, new costume.

The old fight, fought again

Per the source, the inputs we keep trying to flatten are wildly different beasts. Mouse wheel scrolling on desktop. Swipe and pinch-zoom on touch. Hand or eye scrolling on the Vision Pro. Trying to make all of those resolve to a single behaviour is how you ship the worst version of each: a desktop site with a fake swipe carousel and no keyboard support, a touch site with a hover state that needs a long-press to fire, and a Vision Pro tab where nothing wants to focus.

Here's the rad part of how the source flips the framing. Input-specific features are not a regression. They are progressive enhancement, just on the input axis instead of the rendering one. The desktop user gets the thing the desktop is great at. The touch user gets the thing touch is great at. The baseline still works for everyone, so nobody is locked out. You just stopped pretending the keyboard user wanted to mime a swipe.

The examples are the receipts. Per the source, YouTube, GitHub, Gmail and Feedly all expose keyboard shortcuts to power users; typically ? brings up the shortcuts dialog, and YouTube uses f to fullscreen the current video. None of those four products are worse on touch because the keyboard layer exists. The keyboard user got affordances that map to their input. Touch gets its own. Think about what that actually means for one beat. A mouse user on Gmail is not deprived of anything when j and k move between conversations. The shortcut is invisible to them. That is what an additive design looks like.

Drag-scrolling, and the part nobody is shipping yet

The forward-look the source picks up on is desktop drag-scrolling. Per the source, Bramus filed CSSWG Issue #9811 on Draggable Scrollers in 2024, proposing that the touch convention of pressing and dragging the content to scroll should be expressible on desktop too, where the platform currently insists on scrollbars and wheels. That's the bit that should make every layout author lean in. Read the issue carefully. The proposal is about letting the author opt the desktop user into a touch-style affordance where it actually fits the content, without breaking wheel, scrollbar or keyboard scrolling underneath. Additive again. Same pattern.

And here's a fast tangent: this also kills the entire 2018-era "fake horizontal carousel with a wheel listener" category of hack, but only if the platform actually ships the primitive. Until then we're stuck rolling our own, which is the whole motivation for filing the issue in the first place.

The score

The parity reflex is the cross-browser-pixel-perfect reflex with a new haircut. Both come from the same place: a discomfort with the web's actual nature, which is that it adapts. Different machine, different input, different ergonomics. Bramus names the new misconception out loud. That's the framing you need the next time someone writes a brief demanding platform-consistent behaviour.

Stop sanding off the affordances each platform is actually good at. Build the baseline. Layer the input-specific stuff on top. Let the keyboard user keyboard, the touch user touch, and the hand-and-eye-on-Vision-Pro user do whatever wild thing they are doing. Score for the framing: a flat 8/10 — the only point off is that we are somehow having this conversation a second time.