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

Correct group icon prop names #16096

Merged
merged 1 commit into from
Jun 11, 2019
Merged

Conversation

kjellr
Copy link
Contributor

@kjellr kjellr commented Jun 11, 2019

As noted by @aduth in #16001 (review), the Group icons currently have clip-rule and fill-rule attributes that are improperly named. If WP's SCRIPT_DEBUG constant is set to true, you'll see errors like the following:

Warning: Invalid DOM property fill-rule. Did you mean fillRule?
Warning: Invalid DOM property clip-rule. Did you mean clipRule?

This PR changes those to fillRule and clipRule, eliminating the warning.

@kjellr kjellr added [Type] Bug An existing feature does not function as intended [Block] Group Affects the Group Block labels Jun 11, 2019
@kjellr kjellr requested a review from aduth June 11, 2019 20:48
@kjellr kjellr self-assigned this Jun 11, 2019
Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks 👍

For what it's worth, once #14845 is implemented / closed, these issues will be harder to introduce inadvertently. We should be able to leverage our automated testing to prevent this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Group Affects the Group Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants