Skip to content

Commit ef6865f

Browse files
authored
Drop NULL children in layout_column_wrap() (#560)
1 parent 2a9a21f commit ef6865f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/layout.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ layout_column_wrap <- function(
7777
# to fill the grid row.
7878
# 2. Allow for heights_equal="-cell", which useful for allowing contents to
7979
# shrink but not grow (i.e., default flex behavior).
80+
children <- dropNulls(children)
8081
children <- lapply(children, function(x) {
8182
bindFillRole(
8283
container = TRUE,

0 commit comments

Comments
 (0)