this post was submitted on 18 Jan 2026
43 points (92.2% liked)

Today I Learned

26926 readers
49 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 2 years ago
MODERATORS
 

Disclaimer: Not talking about Ctrl + Scroll.

I tried the Mouse Pinch-To-Zoom extension, which is buggy on some sites. And I even bought a physical touchpad for pinch zoom. Today I just leaned that it's natively supported as an experiment feature by FireFox

There are specific actions defined to set what happens if you rotate the mouse wheel and hold down modifier keys like Alt or Ctrl or Shift. You can disable this action by setting the related mousewheel pref to 0 (zero) on the about:config page.

mousewheel.with_alt.action = 0 
0: Nothing happens
1: Scrolling contents
2: Go back or go forward, in your history
3: Zoom in or out (reflowing zoom)
4: Treat vertical wheel as horizontal scroll
5: Zoom in or out (pinch zoom)

I changed the value to 5, and it works perfectly.

you are viewing a single comment's thread
view the rest of the comments
[–] dualphasesaber@piefed.social 5 points 2 days ago* (last edited 2 days ago)

Presumably reflowing zoom would be the same as upping the zoom level of the browser (so like the Ctrl+scroll mentioned in the post).

You know when you make your browser screen narrower the content on the page (should) move around in such a way that you don't need to scroll horizontally to see everything.

In theory it would do something like this:

Full width:

1 2 3 4

Narrower:

1 2
3 4

Even narrower:

1
2
3
4

That's what "reflowing" means in a web development context.

The way that that traditional zoom would work is kind of similar in that it just renders the entire page at the magnifying level you've got it set to, which has the side effect of basically giving the window less room to render in.

A 10px by 10px box rendered at 200% zoom would be rendered as 20 by 20.

If your browser window is 100px by 100px then at 100% zoom it's taking up 10% of the screen in either direction, but at 200% zoom (but the same actual window size) it's taking up 20% in either direction, like you've made your browser window 50 by 50.

Pinch to zoom doesn't do that. It makes everything bigger, but doesn't trigger any reflow, so by zooming in content may appear off screen and require you to scroll to it to see things.

Both methods have their uses. If you're someone that just needs everything on your web page a bigger than the default it's probably better to use the traditional zoom method so as not to introduce additional horizontal scrolling as you use the page. If you can use most of the page just fine at your current zoom level but need to blow up the occasional thing on the page to make out some sort of detail then pinch to zoom would be a lot easier than zooming the entire page in, letting it reflow, and then finding what you need to find again.