@bluepic/embed 0.4.0-next.173 → 0.4.0-next.175

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.
@@ -20,8 +20,12 @@ export declare function useVisualViewport(): {
20
20
  keyboardOpen: import("vue").Ref<boolean, boolean>;
21
21
  };
22
22
  /**
23
- * Scroll the PAGE so `el` sits inside the visible band, once the keyboard has
24
- * finished animating in.
23
+ * Scroll the PAGE so `el`'s top edge meets the top of the visible band.
24
+ *
25
+ * Used on an element that has already been sized to FIT the band, so aligning
26
+ * its top is the whole job — there is no "scroll to the field" here. Scrolling
27
+ * to a target inside a box that is about to get shorter is what produced the
28
+ * drift: the scroll landed first and the content then shrank out from under it.
25
29
  *
26
30
  * Why not `scrollIntoView`: it scrolls every scrollable ancestor, and on the
27
31
  * mobile layout one of those is swiper's track — which positions its slides by
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluepic/embed",
3
- "version": "0.4.0-next.173",
3
+ "version": "0.4.0-next.175",
4
4
  "description": "Bluepic embed sdk",
5
5
  "type": "module",
6
6
  "sideEffects": false,