mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed hero swiping
This commit is contained in:
parent
12ffd39082
commit
947d2180f6
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@ const autoplay = {
|
|||
};
|
||||
|
||||
const lazy = {
|
||||
loadPrevNextAmount: 5,
|
||||
loadPrevNextAmount: 3,
|
||||
checkInView: false,
|
||||
};
|
||||
|
||||
|
@ -125,6 +125,7 @@ export const FlowSwiperHero: FC<Props> = ({ heroes }) => {
|
|||
onRealIndexChange={onIndexChange}
|
||||
onAfterInit={onIndexChange}
|
||||
onClick={onClick}
|
||||
followFinger
|
||||
>
|
||||
{heroes
|
||||
.filter(node => node.thumbnail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue