diff --git a/src/ftxui/dom/table.cpp b/src/ftxui/dom/table.cpp index d3ec5d0c06f6eb315b40c8ab4d61816b50082324..50da0918b2d827b55a46b3fdf8dbc8e01a25ebee 100644 --- a/src/ftxui/dom/table.cpp +++ b/src/ftxui/dom/table.cpp @@ -174,6 +174,8 @@ Element Table::Render() { it = std::move(it) | size(WIDTH, EQUAL, 0) | size(HEIGHT, EQUAL, 0); } } + dim_x_ = 0; + dim_y_ = 0; return gridbox(std::move(elements_)); }