@tmls-ai/support 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -135,6 +135,9 @@ function SupportWidget(props) {
135
135
  scale: 0.75,
136
136
  width: root.clientWidth || window.innerWidth,
137
137
  height: root.clientHeight || window.innerHeight,
138
+ // Keep scrolled containers (chat log, lists) at their on-screen scroll
139
+ // position instead of snapping back to the top in the clone.
140
+ features: { restoreScrollPosition: true },
138
141
  filter: (node) => !(node instanceof HTMLElement && node.dataset.tmlsSupportRoot === "true")
139
142
  });
140
143
  setShotPreview(URL.createObjectURL(blob));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmls-ai/support",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Embeddable Timeless support widget — bottom-right report overlay (type / severity / screenshot) + ticket thread. Auto-captures context, talks to tmls-support-api.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",