Giter VIP home page Giter VIP logo

Comments (4)

indrimuska avatar indrimuska commented on July 28, 2024

Hi @zswcorn, sorry for the late response and thank you for the advice!
Since I am not able to reproduce your issue, can you try just using the combination with mousedown on <li> and mouseup on <ul> (without preventing default event) if it works on your system?

EditableSelectUtility.prototype.initializeList = function () {
    var that = this;
    that.es.$list
        .on('mousemove', 'li', function () {
            that.es.$list.find('.selected').removeClass('selected');
            $(this).addClass('selected');
        })
        .on('mousedown', 'li', function () {
            that.es.select($(this));
        })
        .on('mouseup', function () {
            that.es.$list.find('li.selected').removeClass('selected');
        });
};

from jquery-editable-select.

indrimuska avatar indrimuska commented on July 28, 2024

Hi @zswcorn, are you able to reproduce this issue in the latest version v2.2.0?

from jquery-editable-select.

zswcorn avatar zswcorn commented on July 28, 2024

I'm really sorry that response too late,The project I was running has too many things to do in the last five weeks,So , I try the new version in chrome v54 and IE 11,It seems work now.The events are in the right order to fire.

from jquery-editable-select.

indrimuska avatar indrimuska commented on July 28, 2024

Don't worry man! Happy to hear you've marked this issue! :)

from jquery-editable-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.