samvera-labs / ramp

Interactive, IIIF powered audio/video media player React components library. Styleguidist Docs: https://samvera-labs.github.io/ramp/
https://ramp.avalonmediasystem.org/
30 stars 5 forks source link

'Close/Expand Section' Button is not functioning as expected #663

Closed abankhele closed 1 month ago

abankhele commented 1 month ago

Description The collapsible button for sections beneath the media player on Avalon Dev is not functioning as expected. The sections are neither collapsing nor expanding when the buttons are clicked.

To Reproduce Steps to reproduce the behavior:

  1. Go to Avalon Dev Media object.
  2. Click on the 'Close 2 Sections' button.
  3. Notice that the sections related to "Lunchroom Manners" are not hidden as expected.
  4. Manually click on the 'Lunchroom Manners' section to collapse it.
  5. Now, click on the 'Expand 2 Sections' button.
  6. Observe that the sections do not expand as intended.

Expected behavior

  1. Clicking 'Close 2 Sections' should collapse the sections beneath the media player.
  2. Clicking 'Expand 2 Sections' should reveal the hidden sections.

Screenshots

image.png image.png

Desktop :

Smartphone :

joncameron commented 1 month ago

See samvera-labs/ramp#645 for the issue that should resolve this issue

joncameron commented 1 month ago

Functioning as expected now!