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.

onUpdate event does not run on Chrome 62

See original GitHub issue

I update Chrome to 62, vue-sortable does not trigger onUpdate event. Other people using Chrome 61 don’t have this problem

html by jQuery
$('<ul class="me-slide-title-wrap" v-sortable="options"></ul>');
vue code
 Vue.use(Sortable);
    this.vue = new Vue({
      el,
      data () {
        return {
          slides,
          currentSlide,
          dragged: false,
          options: {
            onUpdate: this.onUpdate,
          },
        };
      },
      methods: {
        onUpdate (event) {
          console.log('update', this.dragged)
          updateSlides(event);
        },
        active(id) {
          console.log('active')
        },
        dragenter (id) {
          console.log('drag enter', this.dragged);
        },
        dragleave () {
          console.log('drag leave', this.dragged);
        },
        dragstart () {
          console.log('drag start', this.dragged);
        },
        dragend () {
          console.log('drag end', this.dragged);
          this.dragged = false;
        },
      },
    });

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
FQZhangcommented, Nov 15, 2017

Hi sagalbot,

I create pull request to solve this issue. Could you please check and merge it Thanks

0reactions
seedgabocommented, Mar 22, 2018

so the repository is abandoned? @sagalbot

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator Update failed (Error: 3...
Read more >
Input binding not working with iOS Chrome autofill #62 - GitHub
@AlecRust I am running into this same issue and I think it just has to do with iOS Chrome cause I'm not using...
Read more >
onchange event on input type=range is not triggering in ...
I was having issues with the 'change' event not firing in mobile chrome (v34), but adding 'input' into the equation has fixed it...
Read more >
352527 - Autofill should trigger a change event on inputs
Bind to change event on input and have a blank default value ... Did this work before? No Chrome version: 33.0.1750.149 Channel: stable...
Read more >
CookieChangeEvent - Web APIs - MDN Web Docs
The CookieChangeEvent interface of the 'Cookie Store API' is the event type passed to CookieStore.onchange() when any cookie changes occur.
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