# S-stack/s-box/s-grid not accepted as s-table child in filters slot

**URL:** <https://community.shopify.dev/t/s-stack-s-box-s-grid-not-accepted-as-s-table-child-in-filters-slot/39177>\
**Category:** Polaris\
**Created:** [October 29, 2026, 8:51am UTC](https://community.shopify.dev/t/s-stack-s-box-s-grid-not-accepted-as-s-table-child-in-filters-slot/39177 "2026-10-29T08:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Ryan](https://avatars.discourse-cdn.com/v4/letter/_/df705f/32.png) [@\_Ryan](https://community.shopify.dev/u/_Ryan)\
**Post date:** [October 29, 2026, 8:51am UTC](https://community.shopify.dev/t/s-stack-s-box-s-grid-not-accepted-as-s-table-child-in-filters-slot/39177/1 "2026-10-29T08:51:04Z")

</div>

I’m getting this warning with `s-stack` as a container for the filters slot:

> polaris-2.js:2 polaris: ​…​​custom-element - Invalid child \<s-stack slot=​"filters" gap=​"small-300" padding=​"none"\>​…​​custom-

`s-box` and `s-grid` also have this issue. There is no issue with the rendering or hydration. `s-div` does not give a warning – but this shouldn’t be necessary, right?

---

<div class="post-metadata">

**Author:** ![Hanad-Shopify](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@Hanad-Shopify](https://community.shopify.dev/u/Hanad-Shopify)\
**Post date:** [November 2, 2026, 2:43pm UTC](https://community.shopify.dev/t/s-stack-s-box-s-grid-not-accepted-as-s-table-child-in-filters-slot/39177/2 "2026-11-02T14:43:41Z")

</div>

Hey @_Ryan , thanks for reporting this.

We can confirm that `<s-div>` shouldn’t be necessary here. `<s-stack>` , `<s-grid>` and `<s-box>` are all valid containers for the table’s `filters` slot.

This is a timing issue when React 18 mounts the components. `<s-table>` can check its children just before React applies `slot="filters"`, causing the false warning. The slot is applied immediately afterward, so everything still renders normally.

A fix has been merged but hasn’t reached the current `polaris-2.js` CDN build yet. There’s nothing you need to change, the warning is safe to ignore. You can use `<s-div>` temporarily for a clean console, but it isn’t required.
