boost, like and bookmark sometimes appear to be already selected when opening a post
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 186
- Avg merge
- 1d 36m
- Merged PRs (30d)
- 11
Description
### Site
phanpy.social
### Version
2025.07.18.3f4b1a6
### Instance
hachyderm.io
### Browser
Firefox 141.0.1 (Build #2016105287)
GV: 141.0.1-20250728130431
AS: 141.0
OS: Android 15
### Bug description
If I tap on a post in my feed, depending on where I tap my finger, the boost, like or bookmark buttons can appear already selected. This might lead people to try to unboost a post they thought they must have accidentally boosted and instead boost something they don't want to (happened to me when the bug first appeared)
I suspect what's happening is the post opens underneath the finger faster than the finger gets lifted off and the links are getting a focus event even when such things probably shouldn't apply in touch environments
### To reproduce
Two images attached. The first shows a post in a feed of me wishing someone a happy birthday including a cake emoji
The second image shows what happens when I click on that post approximately around the location of the cake (which is roughly where the boost button will appear).
Please note I have not boosted this post.


Also worth noting that this does not occur on longer posts including most posts with images presumably because that pushes the buttons further down the page.
### Expected behavior
I don't think that the button should illuminate and confuse the user
### Other
A simple fix may be using media tags in JavaScript so that touch devices don't illuminate when focussed
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.