On mobile, the web component table automatically goes to a list view. But, according to the docs, we should be able to add give it a variant=table prop (<s-table variant=”table”>) to always keep it a table Table.
But on mobile, even with this variant applied, it still transitions into a list. Is this a bug with the Polaris web components?
Our docs here aren’t completely clear, so sorry about that;
Currently mobile will always get the list variant, no matter what you specify. So this is working as expected.
Thanks. Are there any plans to enable table view on mobile?
At the moment, no; the mobile experience for a full table is almost always not good, so we want to make sure that it is by default.