I have the sort of tub stopper that's built into the tub. The kind where you just push it down and it sticks down, and then you stomp on it again to pop it back up. So I couldn't use the mesh kind that fit into the drain. But I found an awesome one that's shaped like a dome and has small holes in it.
Like this:
https://www.amazon.com/LEKEYE-Catcher-Strainer-Stainless-Protector-Silver/dp/B07SG474HG
This isn't my exact one, but it's like this and it works really well for my long hair.