Commit ca438fb5dd9 for woocommerce
commit ca438fb5dd9ce1acf679bc6075cb31f1f63d4b33
Author: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Date: Wed Sep 2 17:34:33 2026 +0200
Add sticky positioning support to Product Filters (#68256)
* Add sticky positioning support to Product Filters
* Add changelog entry for Product Filters sticky support
diff --git a/docs/block-development/reference/block-references.md b/docs/block-development/reference/block-references.md
index 6e51888ba05..44c50597266 100644
--- a/docs/block-development/reference/block-references.md
+++ b/docs/block-development/reference/block-references.md
@@ -1239,7 +1239,7 @@ Add a set of filters shoppers can use.
- **Name:** woocommerce/product-filters
- **Category:** woocommerce
-- **Supports:** align, color (background, button, heading, text, ~~enableContrastChecker~~), inserter, interactivity, layout (default, ~~allowEditing~~), spacing (blockGap), typography (fontSize)
+- **Supports:** align, color (background, button, heading, text, ~~enableContrastChecker~~), inserter, interactivity, layout (default, ~~allowEditing~~), position (sticky), spacing (blockGap), typography (fontSize)
- **Attributes:** isPreview, overlayMode, overlayPosition
## Active Filters - woocommerce/product-filter-active
diff --git a/plugins/woocommerce/changelog/codex-woothme-502-product-filters-sticky-support b/plugins/woocommerce/changelog/codex-woothme-502-product-filters-sticky-support
new file mode 100644
index 00000000000..c4721a353e8
--- /dev/null
+++ b/plugins/woocommerce/changelog/codex-woothme-502-product-filters-sticky-support
@@ -0,0 +1,4 @@
+Significance: minor
+Type: add
+
+Add sticky positioning support to the Product Filters block.
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-filters/block.json b/plugins/woocommerce/client/blocks/assets/js/blocks/product-filters/block.json
index b548ce9e3b2..c1aacb6e77d 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-filters/block.json
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-filters/block.json
@@ -29,6 +29,9 @@
},
"allowEditing": false
},
+ "position": {
+ "sticky": true
+ },
"spacing": {
"blockGap": true
}