godaddy-wordpress / coblocks

A suite of professional page building content blocks for the WordPress Gutenberg block editor.

Home Page:https://wordpress.org/plugins/coblocks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ErikBrendel opened this issue · comments

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

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