itube-specs 0.0.852 → 0.0.853
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.
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
<LazyGridVideos
|
|
77
77
|
:items="otherItems"
|
|
78
78
|
:class="{'_loading': statusOther === 'pending'}"
|
|
79
|
+
:hydrate-on-visible="HYDRATE_MARGIN"
|
|
79
80
|
class="view-model-videos__grid"
|
|
80
|
-
hydrate-on-visible
|
|
81
81
|
/>
|
|
82
82
|
<UiLink
|
|
83
83
|
v-if="dataOther && dataOther?.total > 12"
|
|
@@ -120,6 +120,9 @@ import { computed } from 'vue';
|
|
|
120
120
|
|
|
121
121
|
const featureFlags = useRuntimeConfig().public.featureFlags;
|
|
122
122
|
|
|
123
|
+
/** Запас гидрации грида: без него тап по карточке у нижнего края экрана уходит по негидрированной разметке. */
|
|
124
|
+
const HYDRATE_MARGIN = { rootMargin: '300px' };
|
|
125
|
+
|
|
123
126
|
const props = defineProps<{
|
|
124
127
|
title: string
|
|
125
128
|
data: PaginatedResponse<IVideoCard> | null
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
:hide-first-row="page !== 'playlist'"
|
|
62
62
|
:items="related"
|
|
63
63
|
:top-chips="topChipsStrings"
|
|
64
|
-
hydrate-on-visible
|
|
64
|
+
:hydrate-on-visible="HYDRATE_MARGIN"
|
|
65
65
|
>
|
|
66
66
|
<template #grid-start>
|
|
67
67
|
<LazyAdvNativePlayer
|
|
@@ -120,6 +120,9 @@ import type { AsyncDataRequestStatus } from '#app';
|
|
|
120
120
|
|
|
121
121
|
const featureFlags = useRuntimeConfig().public.featureFlags;
|
|
122
122
|
|
|
123
|
+
/** Запас гидрации релейтед-грида: без него тап по карточке у нижнего края экрана уходит по негидрированной разметке. */
|
|
124
|
+
const HYDRATE_MARGIN = { rootMargin: '300px' };
|
|
125
|
+
|
|
123
126
|
const props = defineProps<{
|
|
124
127
|
related?: Array<IVideoCard> | undefined,
|
|
125
128
|
status: AsyncDataRequestStatus
|