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 +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +1 -1
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
|
|
10509
|
+
if (window !== undefined && window.innerWidth > 960)
|
|
10510
10510
|
return;
|
|
10511
10511
|
if (targetFilterBarRef.current && selectedFilter) {
|
|
10512
10512
|
window.scrollTo({
|