@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.
- package/dist/bluepic-embed.iife.js +118 -118
- package/dist/bluepic-embed.umd.js +118 -118
- package/dist/main.cjs +79 -79
- package/dist/main.mjs +6930 -6891
- package/dist/style.css +1 -1
- package/dist/util/visualViewport.d.ts +6 -2
- package/package.json +1 -1
|
@@ -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`
|
|
24
|
-
*
|
|
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
|