We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d35c051 commit cd1ea6eCopy full SHA for cd1ea6e
packages/renderless/src/base-select/index.ts
@@ -558,7 +558,7 @@ export const resetInputHeight =
558
const sizeInMap = designConfig?.state.initialInputHeight || state.initialInputHeight || 32
559
const noSelected = state.selected.length === 0
560
// tiny 新增的spacing (design中配置:aui为4,smb为0,tiny 默认为0)
561
- const spacingHeight = designConfig ? designConfig.state?.spacingHeight : constants.SPACING_HEIGHT
+ const spacingHeight = designConfig?.state?.spacingHeight ?? constants.SPACING_HEIGHT
562
563
if (!state.isDisplayOnly) {
564
if (!noSelected && tags) {
0 commit comments