Skip to content

Separator block: Invalid prop lineStyle of type array supplied to Hr, expected object #32885

Open

Description

Description

The following warning is displayed when adding the Separator block to the content:

Warning: Failed prop type: Invalid prop `lineStyle` of type `array` supplied to `Hr`, expected `object`.

Step-by-step reproduction instructions

  1. Use a debug version that connects to the Metro server.
  2. Open a post/page.
  3. Tap on the ➕ button.
  4. Tap on the Separator block.
  5. Observe the mentioned warning is logged in the console.

Expected behaviour

No warning should be logged when adding the Separator block.

Actual behaviour

A warning is logged when adding the Separator block.

Screenshots or screen recording (optional)

N/A

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 8 (simulator)
  • Operating system: iOS 14.2
  • WordPress app version: 779bb171e889ad527cc1c311675119e6596e0127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Block] SeparatorAffects the Separator BlockAffects the Separator Block[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] BugAn existing feature does not function as intendedAn 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