Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fluiddot opened this issue Jun 22, 2021 · 0 comments
Labels
[Block] Separator Affects the Separator Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later [Type] Bug An existing feature does not function as intended
Projects

Comments

@fluiddot
Copy link
Contributor

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
@fluiddot fluiddot added [Type] Bug An existing feature does not function as intended Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Jun 22, 2021
@fluiddot fluiddot added this to Triage in Mobile Apps via automation Jun 22, 2021
@fluiddot fluiddot added the [Block] Separator Affects the Separator Block label Jun 22, 2021
@mchowning mchowning moved this from Triage to To do in Mobile Apps Jun 22, 2021
@mchowning mchowning added the [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later label Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Separator Affects the Separator Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later [Type] Bug An existing feature does not function as intended
Projects
Mobile Apps
  
To do
Development

No branches or pull requests

2 participants