Columns block: Column width's percentage is NaN when using ,
character as decimal separator
#33601
Labels
[Block] Columns
Affects the Columns Block
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
Looks like the percentage field only supports the
.
character as the decimal separator, using other characters like,
leads to a NaN value. On iOS, depending on the device's region (in my case I used Spain), the keyboard only allows the option to use the,
character as the decimal separator which prevents inputting decimal numbers (see attached screenshots).Step-by-step reproduction instructions
Settings/General/Language & Region/Region
.,
character separator.Expected behaviour
The column widths' percentage should support the
,
decimal separator.Actual behaviour
The column widths' percentage doesn't support the
,
decimal separator.Screenshots or screen recording (optional)
WordPress information
Device information
develop
The text was updated successfully, but these errors were encountered: