Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add isResetValueOnUnitChange prop back
  • Loading branch information
ciampo committed Mar 18, 2022
commit fd18928678a55b369dc2ec8c8e07dea646293fde
1 change: 1 addition & 0 deletions packages/block-library/src/spacer/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) {
<BaseControl label={ label } id={ inputId }>
<UnitControl
id={ inputId }
isResetValueOnUnitChange
min={ 0 }
max={ MAX_SPACER_SIZE }
onChange={ handleOnChange }
Expand Down