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 #832

Open
NIFO43 opened this issue Sep 29, 2023 · 1 comment
Open

Issues on dragging arrows #832

NIFO43 opened this issue Sep 29, 2023 · 1 comment
Assignees
Labels
🔖4.x v4.x~ related issue ❓Question Asking question about @egjs/Flicking

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
@malangfox malangfox self-assigned this Sep 30, 2023
@malangfox malangfox added ❓Question Asking question about @egjs/Flicking 🔖4.x v4.x~ related issue labels Sep 30, 2023
@malangfox
Copy link
Contributor

malangfox commented Nov 6, 2023

Hello @NIFO43.
We apologize for the late response. We created a demo to reproduce the issue you left, but it seems to be working fine.

There are two things to check in your implementation.

  • Arrow plugin might not have been initialized properly.
  • Or, a style associated with Arrow seems to be causing this issue.

We'd like to try to reproduce this issue. Can we check a demo or repo that reproduces this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖4.x v4.x~ related issue ❓Question Asking question about @egjs/Flicking
Projects
None yet
Development

No branches or pull requests

2 participants