Skip to content

odd behaviour when cycling through images in lightbox #52

Closed
@phiw13

Description

@phiw13

Tested with Safari / Firefox / Brave + iPhone.
(use the demo to play along)

  1. cycle through the images by either clicking/tapping the buttons or using the left/right arrows on the keyboard
  2. reach the first or last image in the series
  3. press the arrow keys once more or press the button again

Observed behaviour or actual result: the first/last image gives the impression of (briefly) sliding away to make place for the next one. Nothing happens however

Expected behaviour:
the button is disabled (and hidden or greyed out), pressing the arrow keys does nothing.

Note: the buttons have the aria-disabled attribute set (true), but the buttons are not actually disabled.

This worked as expected in Parvus 2.3.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions