Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISBAT Bug: Carousel image elements lose "selected" state automatically over time #2592

Open
3 tasks done
ErikBrendel opened this issue Mar 5, 2024 · 1 comment
Open
3 tasks done
Labels
[Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected

Comments

@ErikBrendel
Copy link

ErikBrendel commented Mar 5, 2024

Describe the bug:

When selecting an image from a coblocks carousel, the selection (visible via the "replace" and "x" buttons as well as the caption placeholder) gets cleared automatically after some time. For some block instances, this is almost instantaneous, while for others it takes a lot longer. See also the WP support ticket.

Due to this bug, we are not able to modify captions or replace / delete images from a carousel block.

To reproduce:

  • Open the Gutenberg editor with coblocks installed (e.g. from the "Live preview" button here: https://wordpress.org/plugins/coblocks/)
  • Insert a "carousel" block
  • Use "full scroll" variation (although others seem to have the same problem)
  • Upload a few pictures
  • Select one picture

Expected behavior:

This picture should stay selected indefinitely. Instead, it automatically de-selects after some time.

Screenshots:

Screen.Recording.2024-03-05.at.17.22.07.mov

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with a default WordPress theme active
  • [~] This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version: 6.4

Gutenberg version: latest

@ErikBrendel ErikBrendel added [Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected labels Mar 5, 2024
@ErikBrendel
Copy link
Author

Update: It seems like the "autoplay" feature is related to this. With a freshly inserted carousel, enabling "autoplay" starts the bug, and disabling autoplay again stops the problem from occurring.

On the other hand, disabling autoplay does not always suppress the bug, only sometimes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant