amnestywebsite / humanity-theme

The Amnesty International WordPress Humanity Theme
https://wordpresstheme.amnesty.org/
Other
38 stars 11 forks source link

On the slider block the 'hide tabs' feature also hides the arrow on the first slide #15

Open SophieAmnesty opened 2 years ago

SophieAmnesty commented 2 years ago

Describe the bug When using the slider block, if I turn 'show tabs' off, the right hand arrow on the first slide doesn't appear when I first load the page.

It does appear once I've swiped to the next slide and back.

To Reproduce Steps to reproduce the behavior:

  1. Create new post
  2. Add slider block and insert a few slides
  3. Toggle off 'show tabs' in the block settings
  4. view post and see the arrow missing from the first slide

Expected behaviour Hiding the tabs shouldn't affect the arrows.

Actual behaviour Hiding the tabs takes away the arrow on first slide.

Link to a page where the bug is reproduced in isolation https://isaidotorgstg.wpengine.com/en/latest/news/2022/08/slider/

Which site is this happening on amnesty.org

Link to a page in the documentation site where the feature is described https://wordpresstheme.amnesty.org/blocks/b006-timeline-slider/

Screenshots slider arrows

Desktop (please complete the following information): https://www.whatsmybrowser.org/b/X3ICW

Additional context Could it be related to this? https://github.com/amnestywebsite/amnesty-wp-theme/issues/805

SophieAmnesty commented 3 months ago

Hi all this has come up again recently on this post: https://www.amnesty.org/en/latest/news/2024/08/pakistan-one-year-since-jaranwala-attack-minority-christians-await-justice/

The user ended up showing the tabs as a workaround.

Test slider here on the staging site: https://isaidotorgstg.wpengine.com/en/latest/news/2024/08/slider/

Still seems to be the case that hiding the tabs also hides the arrow on the first slide. It's a bit of an issue as then people won't necessarily know it's a slider they could think it's just a single image.

Thanks!

AmnestyAM commented 2 months ago

that looks annoying! should be able to take a look soon!