Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Selecting a Gradient style crashes the App #3157

Closed

Description

@antonis

Describe the bug
When the user selects a gradient style (e.g. for the background of a button or cover block) the app crashes

To Reproduce

Button block

  1. Add a button block
  2. Open the block settings
  3. Select background color
  4. Choose gradient from the segmented control
  5. Tap on any gradient style
  6. Notice that the app crashes

Cover block

  1. Add a cover block
  2. Tap on any color and apply
  3. Open the block settings
  4. Select Color
  5. Choose gradient from the segmented control
  6. Tap on any gradient style
  7. Notice that the app crashes

Note

The crash also occurs when you try to select a gradient from a theme that defines custom gradients (eg. Twenty-Twenty)

Expected behavior
When the user selects a gradient style (e.g. for the background of a button or cover block) the gradient selection should be aplied

Screenshots

Smartphone (please complete the following information):

  • Device: Google Pixel 2 XL
  • OS: Android 11
  • Version 1.47.0

Additional context
This issue is a regression from WordPress/gutenberg#28740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions