Automattic / Automattic/block-experiments

Layout Grid: inspector setting validation too strict

Open
#168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
131
Forks
18
PR merge metrics
No merged PRs in 30d

Description

The settings in the block inspector apply grid validation on each key press, making it difficult on smaller width devices to make any direct changes.

For example, if you try and delete the value in a grid on mobile it won't let you as the empty value causes a grid validation error, so it gets reset.

We should only validate once the user has finished making a change, maybe `onBlur` instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.