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.umd.js
CHANGED
|
@@ -10528,7 +10528,7 @@
|
|
|
10528
10528
|
// Scroll in to view
|
|
10529
10529
|
var targetFilterBarRef = React__default.useRef(null);
|
|
10530
10530
|
React__default.useEffect(function () {
|
|
10531
|
-
if (window !== undefined && window.innerWidth
|
|
10531
|
+
if (window !== undefined && window.innerWidth > 960)
|
|
10532
10532
|
return;
|
|
10533
10533
|
if (targetFilterBarRef.current && selectedFilter) {
|
|
10534
10534
|
window.scrollTo({
|