@chronocide/hyper 1.1.2 → 1.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/hyper.js +1 -1
  2. package/package.json +1 -1
package/dist/hyper.js CHANGED
@@ -179,7 +179,7 @@ const virtual$1 = (env) => (cell) => (render) => (root) => {
179
179
  let cache = [];
180
180
  let state = [];
181
181
  const update = debounce(env)((full) => {
182
- if (full) cache = cells(cell)({ width: root.getBoundingClientRect().width })(state);
182
+ if (full) cache = cells(cell)({ width: root.clientWidth })(state);
183
183
  const [min, max] = view({
184
184
  height: root.getBoundingClientRect().height,
185
185
  y: Math.floor(root.scrollTop)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chronocide/hyper",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "types": "dist/hyper.d.ts",
6
6
  "exports": {