fix: multiple empty lists render error in first row
This commit is contained in:
@@ -1414,7 +1414,7 @@ export class Draw {
|
|||||||
if (
|
if (
|
||||||
curRow.startIndex === 0 &&
|
curRow.startIndex === 0 &&
|
||||||
curRow.elementList.length === 1 &&
|
curRow.elementList.length === 1 &&
|
||||||
(INLINE_ELEMENT_TYPE.includes(element.type!) || element.listId)
|
INLINE_ELEMENT_TYPE.includes(element.type!)
|
||||||
) {
|
) {
|
||||||
curRow.height = defaultBasicRowMarginHeight
|
curRow.height = defaultBasicRowMarginHeight
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user