Skip to content

Gallery block: Failed uploads don't render outer border line when selected #59392

@fluiddot

Description

@fluiddot

Description

When uploads fail in the Gallery block, the outer border line is not displayed when selecting a gallery item.

This issue is related to: Gallery block – Insert image from device (failing) – TC006

Step-by-step reproduction instructions

  1. Add a gallery block and tap "Add Media".
  2. Select "Choose from device" option.
  3. Select multiple images from the device and confirm the selection.
  4. While images are uploading, turn on airplane mode or turn off WIFI.
  5. Observe that all gallery items display an error state.
  6. Select any of the gallery items.
  7. Observe that the outer border line is not displayed when the item is selected.

Expected behaviour

Gallery items should display an outer border when they are selected.

Actual behaviour

Gallery items don't display an outer border when they are selected.

Screenshots or screen recording (optional)

ios-select-failed-upload-gallery-item.MP4

WordPress information

  • WordPress version: N/A
  • Gutenberg version: N/A
  • Are all plugins except Gutenberg deactivated? N/A
  • Are you using a default theme (e.g. Twenty Twenty-One)? N/A

Device information

  • Device: iPhone 11
  • Operating system: iOS 17.0.2
  • WordPress app version: 24.2

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Block] GalleryAffects the Gallery Block - used to display groups of images[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions