Yes, unfortunately shortcodes are fundamentally broken with grid tables, and that's a bug we won't be able to easily fix in the near term. (#10069)
We should add something to the documentation about it.
Originally posted by @cscheid in #10069 (comment)