@apify/docs-theme 1.0.141 → 1.0.142

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.141",
3
+ "version": "1.0.142",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -74,3 +74,8 @@ document.addEventListener('scroll', () => {
74
74
  ticking = true;
75
75
  }
76
76
  });
77
+
78
+ document.addEventListener('DOMContentLoaded', () => {
79
+ // we need to wait a bit more, since the event fires too soon, and a lot of hydration is done after it
80
+ setTimeout(() => scrollSidebarItemIntoView(), 3000);
81
+ });