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

invalid prop: type check failed for prop "gutter". Expected Number | Array, got Object #5725

Closed
1 task done
Oleksii14 opened this issue Jun 19, 2022 · 2 comments
Closed
1 task done
Labels

Comments

@Oleksii14
Copy link

Oleksii14 commented Jun 19, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.6

Environment

Vue latest version, Chrome 102.0.5005.115, Mac OS Monterey 12.4

Reproduction link

https://github.com/Oleksii14/ant-design-row-prop-bug

Steps to reproduce

npm run dev

Open the app in the browser. Take a look at the attached screenshots:

image

image

image

What is expected?

  1. The row's gutter does not cause scrolling issues
  2. The warning about prop validation is not shown

What is actually happening?

  1. Gutter of the row breaks the layout
  2. gutter prop validation is not correct
@github-actions github-actions bot changed the title invalid prop: type check failed for prop "gutter". Expected Number | Array, got Object invalid prop: type check failed for prop "gutter". Expected Number | Array, got Object Jun 19, 2022
@Oleksii14
Copy link
Author

How does your commit fixes the scrolling issue? @tangjinzhou

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant