@bitovi/vybit 0.4.7 → 0.4.8

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.
@@ -2989,6 +2989,12 @@ ${pad}</${tag}>`;
2989
2989
  currentEquivalentNodes.forEach((n) => highlightElement(n));
2990
2990
  }
2991
2991
  });
2992
+ window.addEventListener("scroll", () => {
2993
+ if (currentEquivalentNodes.length > 0) {
2994
+ shadowRoot.querySelectorAll(".highlight-overlay").forEach((el) => el.remove());
2995
+ currentEquivalentNodes.forEach((n) => highlightElement(n));
2996
+ }
2997
+ }, { capture: true, passive: true });
2992
2998
  window.addEventListener("overlay-ws-connected", () => {
2993
2999
  if (wasConnected) {
2994
3000
  showToast("Reconnected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitovi/vybit",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Browser overlay + inspector panel + MCP server for visually editing Tailwind CSS classes on a running React app",
5
5
  "keywords": [
6
6
  "tailwind",