inertiax-core 11.0.22 → 11.0.23

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/dist/index.js CHANGED
@@ -1040,7 +1040,7 @@ var Scroll = class {
1040
1040
  if (frameId === DEFAULT_FRAME_ID2) {
1041
1041
  return Array.from(this.regions());
1042
1042
  }
1043
- const anchor = document.querySelector(`[data-inertia-frame="${frameId}"]`);
1043
+ const anchor = document.querySelector(`[data-inertia-frame="${CSS.escape(frameId)}"]`);
1044
1044
  if (!anchor?.parentElement) {
1045
1045
  return [];
1046
1046
  }