Mastodon: Arrow key to cycle lightbox images also scrolls columns

Created on 20 Nov 2017  路  3Comments  路  Source: tootsuite/mastodon

Steps to reproduce:

  1. Add several columns and/or make the browser width smaller so a horizontal scroll bar appears.
  2. Click on one of several images in a post to expand it.
  3. Use the left and right arrow keys to cycle the images.

Result: the columns behind the images also shift while the key is pressed. Seen in Chrome.
Expected: Elements behind an overlay should be disabled while the overlay is active.


  • [X] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.
  • [ ] This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
accessibility

Most helpful comment

Resolved with #6241

All 3 comments

This happens in Firefox as well.

I'd suggest that this is an accessibility issue, as it causes the "background" to shift under the content you're viewing unexpectedly.

Resolved with #6241

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sorin-davidoi picture sorin-davidoi  路  3Comments

psychicteeth picture psychicteeth  路  3Comments

Lewiscowles1986 picture Lewiscowles1986  路  3Comments

almafeta picture almafeta  路  3Comments

cwebber picture cwebber  路  3Comments