Vue.Draggable icon indicating copy to clipboard operation
Vue.Draggable copied to clipboard

horizontal drag jump to end

Open nonomaxxis opened this issue 4 years ago • 8 comments

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.

nonomaxxis avatar Nov 22 '20 19:11 nonomaxxis

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

LEOChenZF avatar Jul 31 '21 02:07 LEOChenZF

i have this problem too (in RTL)

webasoo avatar Oct 16 '21 08:10 webasoo

I have the same problem in RTL too. RTL

In LTR works correctly. LTR

vahed-mrv avatar Jan 10 '22 09:01 vahed-mrv

I have the same problem in RTL too. RTL

In LTR works correctly. LTR

Hi, I wrote in parent tag => dir=ltr

nonomaxxis avatar Jan 11 '22 15:01 nonomaxxis

I have the same problem in RTL too. RTL In LTR works correctly. LTR

Hi, I wrote in parent tag => dir=ltr

@nonomaxxis and problem is solved?

webasoo avatar Jan 13 '22 06:01 webasoo

@webasoo Yes.

nonomaxxis avatar Jan 13 '22 09:01 nonomaxxis

@webasoo Yes.

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

webasoo avatar Jan 13 '22 12:01 webasoo

@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>

nonomaxxis avatar Jun 27 '22 11:06 nonomaxxis