Skip to content

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

Open

Description

@ErikBrendel

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

Activity

  1. added
    [Priority] Low
    [Type] Bug
    on Mar 5, 2024
  2. ErikBrendel commented on Mar 5, 2024

    @ErikBrendel
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Priority] Low[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions