question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

horizontal drag jump to end

See original GitHub issue

hi,

<draggable tag="div" :list="imageFiles" class="row" handle=".handle" :move="checkMove" >
  <v-col v-for="(image, idx) in imageFiles" :key="idx" cols="3" >
     <v-card flat tile >
        <v-img :src="image.file" class="grey lighten-2">
           <v-expand-transition>
               <div class="d-flex transition-fast-in-fast-out grey darken-4 v-card--reveal py-3" >
                   <i class="fa fa-align-justify mx-3 handle" />
                    <v-btn small color="red" @click="deleteImage(image.id)" >
                       {{ $t('delete') }}
                    </v-btn>
                 </div>
            </v-expand-transition>
         </v-img>
      </v-card>
   </v-col>
</draggable>

but when drag, img jump to end. Video_2020-11-22_223726

using RTL vuetify.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
LEOChenZFcommented, Jul 31, 2021

I also encountered the same problem. Is this problem solved now?

0reactions
nonomaxxiscommented, Jun 27, 2022

@webasoo Yes.

great! can you insert a part of your code here @nonomaxxis?

<div dir="ltr">
  <draggable tag="div" :list="imageFiles" class="row" handle=".handle" :move="checkMove" >
    <v-col v-for="(image, idx) in imageFiles" :key="idx" cols="3" >
       <v-card flat tile >
          <v-img :src="image.file" class="grey lighten-2">
             <v-expand-transition>
                 <div class="d-flex transition-fast-in-fast-out grey darken-4 v-card--reveal py-3" >
                     <i class="fa fa-align-justify mx-3 handle" />
                      <v-btn small color="red" @click="deleteImage(image.id)" >
                         {{ $t('delete') }}
                      </v-btn>
                   </div>
              </v-expand-transition>
           </v-img>
        </v-card>
     </v-col>
  </draggable>
</div>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Horizontal Drag Gesture - Flutter Programming - YouTube
Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top...
Read more >
Horizontal drag scrolling - CSS-Tricks
I've set [role="main"] {overflow: hidden;} which hides the horizontal scroll bar. The content is draggable but doesn't behave as expected.
Read more >
Mouse click and Drag Instead of Horizontal Scroll bar( To view ...
When i click and drag the child div that should move on left/right respect to dragging direction. Any solution with css or jquery/JS....
Read more >
Drag'n'Drop with mouse events - The Modern JavaScript Tutorial
Then on mousemove move it by changing left/top with position:absolute . On mouseup – perform all actions related to finishing the drag'n'drop.
Read more >
Horizontal Scroll with Draggable Bounds - GSAP - GreenSock
To recreate the behavior, try to drag past the end or before the beginning of the scrollable container. I wondered, what is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found