3 ms·
Oh for fucks sake fix your code instead of fucking with users. Firefox have been pretty random with primary selection just not working in random cases and it h
by PunchyHamster 10mo ago
Oh for fucks sake fix your code instead of fucking with users.
Firefox have been pretty random with primary selection just not working in random cases and it has been massively annoying
- The_President 10mo agoRuled out cases of a site implementing user-select: none?
- PunchyHamster 10mo agoI'm not talking about blocking selection (which is annoying too but different issue) There are cases where you can select text, ctrl+c works, but just selecting it doesn't copy it to primary clipboard (example I hit often is various CI/CD text fields like in Jenkins)
- javcasas 10mo agoDon't blame it on FF, but on CSS user-select: none https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/user-select https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
- PunchyHamster 10mo agoI'm not talking about blocking selection (which is annoying too but different issue) There are cases where you can select text, ctrl+c works, but just selecting it doesn't copy it to primary clipboard (example I hit often is various CI/CD text fields like in Jenkins)
- eitau_1 10mo agoSad reality of replacing plain old text boxes with "smarter" re-implementations: https://utcc.utoronto.ca/~cks/space/blog/web/WebEditingVsCutAndPaste https://utcc.utoronto.ca/~cks/space/blog/web/WebEditingVsCut... Some (including the most popular: codemirror) go as far as putting themselves inside "natural" selection flow: they're interpreting mouse inputs, cancelling default behavior and selecting text themselves (programmatically via setSelectionRange). And Firefox deliberately ignores such selection: https://searchfox.org/firefox-main/rev/edb7c6118aa4fc5b09d84371ad67e805640920d6/layout/generic/nsFrameSelection.cpp#3147-3152 https://searchfox.org/firefox-main/rev/edb7c6118aa4fc5b09d84...
- soupbowl 10mo agoYeah, the primary selection 'bug' is incredibly annoying, drives me nuts.