bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
11.77k stars 1.5k forks source link

[Web UI, Accessibility] The repost option holds the focus after click, causing that the down arrow keys open the repost options dropdown #6575

Open pmartiner opened 1 day ago

pmartiner commented 1 day ago

Steps to Reproduce

  1. Click the repost button and then repost on any post
  2. Hit the down arrow key to try to scroll the page
  3. See if the repost dropdown menu is opened

Attachments

https://github.com/user-attachments/assets/da6357f8-cdeb-4c34-a4a8-35e5756aed99

(I had to click outside of the post so that the repost button would loose focus and I could keep scrolling with the down arrow key)

What platform(s) does this occur on?

Web (Desktop)

Device Info

Firefox 132.0.2 on Linux

What version of the app are you using?

Build version: 1.94.0; Bundle info: 3c30bb1 (prod); Bundle date: 24111623; Platform: web; Platform version: undefined

Additional Information

Expected Behavior: The repost button should not hold the focus on click, so that if the user is trying to scroll manually with the down arrow key, they're able to do so without opening the repost dropdown. The dropdown should only open if the repost button is focused.