1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Only apply row height prop if defined

This commit is contained in:
Andrew Kingston 2023-06-19 17:40:57 +01:00
parent 9d8b5e99af
commit c03e64699d

View file

@ -193,5 +193,9 @@ export const initialise = context => {
})
// Reset row height when initial row height prop changes
initialRowHeight.subscribe(rowHeight.set)
initialRowHeight.subscribe(height => {
if (height) {
rowHeight.set(height)
}
})
}