Yes, some state legislatures can't pass any law unless some fraction of their members are present. So the minority can block a law by leaving the state and refusing to show up.
Given that the law in question is to gerrymander even more Democrats out of their seats, it makes sense to simply refuse to be in Texas