Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on dragging arrows #54

Open
NIFO43 opened this issue Sep 29, 2023 · 0 comments
Open

Issues on dragging arrows #54

NIFO43 opened this issue Sep 29, 2023 · 0 comments

Comments

@NIFO43
Copy link

NIFO43 commented Sep 29, 2023

Description

I have the problem that the arrows do not go by themselves, one step forward or back. Also, the arrows can be dragged so that it can move. (see video)

Documentation I followed: https://naver.github.io/egjs-flicking/Plugins

Steps to check or reproduce

<script setup lang="ts">
import Flicking from "@egjs/vue3-flicking";
import {Arrow} from "@egjs/flicking-plugins";

const plugins = ref([new Arrow()]);

function test() {
    console.log('button works')
}
</script>
<template>
<Flicking
    ref="swiper"
    :plugins="plugins"
    :options="{ circular: true }"
    class="w-full h-full"
>
    <div
        class="h-full w-full flex bg-cover rounded-md"
        :key="img.id"
        v-for="img in resort.media"
        :style="`background: url('${img.original_url}'); background-size: cover;`"
    >
    </div>
    <template #viewport>
        <span @click="test" class="flicking-arrow-prev"></span>
        <span class="flicking-arrow-next"></span>
    </template>
</Flicking>
</template>
<style scoped>
@import url("@egjs/vue3-flicking/dist/flicking.css");
@import url("@egjs/flicking-plugins/dist/flicking-plugins.css");
@import url("@egjs/flicking-plugins/dist/arrow.css");
</style>

Video

Bildschirmaufnahme.2023-09-29.um.11.33.05.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant