willba-component-library 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -10506,7 +10506,7 @@ function FilterBar(_a) {
10506
10506
  // Scroll in to view
10507
10507
  var targetFilterBarRef = useRef(null);
10508
10508
  useEffect(function () {
10509
- if (window !== undefined && window.innerWidth < 960)
10509
+ if (window !== undefined && window.innerWidth > 960)
10510
10510
  return;
10511
10511
  if (targetFilterBarRef.current && selectedFilter) {
10512
10512
  window.scrollTo({