A bug which only affected left-handed users – Terence Eden’s Blog
Theme Switcher:
🌒 Dark
🌞 Light
📰 eInk
💻 xterm
🥴 Drunk
👻 Nude
♻️ Reset
Verily, some of our brethren (and sistren) be afflicted with a sinister disposition. While the righteous scroll using the thumb of their right hand - as is good and proper - an accurs'd minority swing the other way.
Look, you try writing an interesting bug report without sounding like a clanker, OK!
I try to optimise my blog as much as possible. It may not look like much, but it has got it where it counts. I've made a lot of special modifications myself to the base WordPress install.
One of those modifications is reducing the amount of JavaScript in use to the bare minimum. Everything functions without it, but there are a few places where it helps - the most notable being comments.
That's why I was distressed when a loyal reader wrote in saying there was a bug on my site. When they were scrolling the page a comment box would suddenly appear and interrupt their browsing.
I scroll my own site a lot (probably more than is healthy) so why hadn't I noticed this bug?
Because I scroll with my right thumb and the bug reporter uses their left. The "reply" link which was being triggered is on the left side of the page. A bug which won't be triggered by righteous people but infuriating to those who will surely be left behind after The Rapture™.
To be fair, this bug was reported seven years ago - but I guess the WordPress team have been too busy cleaning up after their mad God-Emperor to take a look at it.
Back in 2017, a developer added a touchstart listener to link clicks. I don't really understand why. At one point in history, browsers couldn't be sure if a touch event was the start of a click or a double-tap to zoom. So firing an even when a touch occurred on a link sort of made sense to avoid a 300ms delay.
But that hadn't been the case for several years - as this 2013 blog post makes clear. Even in 2015 it was no longer an issue.
So why was this lefty-baiting code added? Not a clue.
Anyway, seven years after the bug was reported I committed a fix. It isn't the most sophisticated change to WordPress - merely deleting a couple of lines. But hopefully it will stop those strange and unusual mutants from complaining that their unnatural thumb-usage is accidentally triggering unwanted events on my website.
Sadly, there is as yet no way to prevent the corrupt from using our blessed sites. The WHAT-WG haven't seen fit to take on board my suggestion of to keep out the unwanted and polluted. So, hopefully, this change will at least prevent them complaining.
Why, yes officer, I have had a glass or two of tonic wine. Why do you ask?
Share this post on…
try {<br>await navigator.share({url:u});<br>} catch {<br>// Show an alert if the share failed. Likely means no share support.<br>alert('Copied URl to clipboard');<br>})()" style=cursor:pointer;>
Voluntary Paywall
Enjoyed this post? Show your support and pay the author.
What are your reckons?
Cancel reply
All comments are moderated and may not be published immediately. Your email address will not be published.
Comment:
See allowed HTML elements:
Your Name (required):
Your Email (required):
Your Website (optional):
To respond on your own website, write a post which contains a link to this post - then enter the URl of your page here. Learn more about WebMentions.
URL/Permalink of your article
🔎 Search
Search for:
🗓️ Explore The Archives
2026
January<br>27 posts<br>February<br>28 posts<br>March<br>23 posts<br>April<br>24 posts<br>May<br>19 posts<br>June<br>17 posts<br>July<br>3 posts<br>August
September
October
November
December
2025
January<br>17 posts<br>February<br>20 posts<br>March<br>23 posts<br>April<br>22 posts<br>May<br>16 posts<br>June<br>28 posts<br>July<br>24 posts<br>August<br>20 posts<br>September<br>15 posts<br>October<br>16 posts<br>November<br>17 posts<br>December<br>15 posts
2024
January<br>31 posts<br>February<br>29 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>19 posts<br>August<br>18 posts<br>September<br>18 posts<br>October<br>29 posts<br>November<br>31 posts<br>December<br>30 posts
2023
January<br>31 posts<br>February<br>28 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts
2022
January<br>30 posts<br>February<br>23 posts<br>March<br>15 posts<br>April<br>19 posts<br>May<br>19 posts<br>June<br>19 posts<br>July<br>19 posts<br>August<br>18 posts<br>September<br>12 posts<br>October<br>8 posts<br>November<br>30 posts<br>December<br>31 posts
2021
January<br>31 posts<br>February<br>28 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts
2020
January<br>31 posts<br>February<br>29 posts<br>March<br>31 posts<br>April<br>30 posts<br>May<br>31 posts<br>June<br>30 posts<br>July<br>31 posts<br>August<br>31 posts<br>September<br>30 posts<br>October<br>31 posts<br>November<br>30 posts<br>December<br>31 posts
2019
January<br>31 posts<br>February<br>12 posts<br>March<br>17 posts<br>April<br>12 posts<br>May<br>12 posts<br>June<br>10 posts<br>July<br>7 posts<br>August<br>5 posts<br>September<br>6...