Table outline is not hide when using uncover
#slide(title: [k-distinctness], theme-variant: "north")[
#set text(size: 18pt)
== Problem Description
- Given an input $x in [q]^n$, for some $q in "poly"(n)$, decide if there exist distinct $a_1, ..., a_k in [n]$ such that $x_(a_1) = thick dots.c thick = x_a_k$.
- When $k=2$, it is the collision problem we discuss in class.
#uncover(2)[
== Current Results
#table(
columns: (auto, auto),
inset: 15pt,
[=== Query Complexity], [=== Time Complexity],
[$O(n^(k\/(k+1)))$ [2003]], [$tilde(O)(n^(k\/(k+1)))$ [2003]],
[$O(n^(3/4-1/4(2^k-1)))$], [$tilde(O)(n^(5\/7)) (k=3)$; $tilde(O)(n^((k-1)\/k)) (k>3)$ [2013 #super("*")]],
[$O(n^(3/4-1/4(2^k-1)))$], [$tilde(O)(n^(3/4-1/4(2^k-1)))$ [2023]]
)
]
]

That looks like a bug in Typst's hide function. There might already exist an issue in their repo, if not, would be great if you open one!
Nasty!
In the meantime, maybe you could try with tablex ? https://github.com/PgBiel/typst-tablex
I confirm, it works with tablex !
#import "tablex.typ": *
= table
#hide(table(columns: 2)[a][b][c][d])
= tablex
#hide(tablex(columns: 2)[a][b][c][d])
Ah Thanks!
Could be worth it checking if this works with the current Typst version.
EDIT: ... aaaand it still does not work. So keeping this open as a reminder and for others landing here. There is just not much we can do about that here.
Tracking https://github.com/typst/typst/issues/2040