Giter Site home page Giter Site logo

Comments (2)

grandehombre avatar grandehombre commented on May 28, 2024

[edit: This does not happen all the time.
Also, it seems that if the mouse-click works, the space bar doesn't and vice versa.
]

I have the same problem.
It seems to be caused by checkboxX('refresh').
Looking in the code (refresh handler, line 151), there is a call to 'init' which causes the problem.
(I have not investigated this any further, as I don't have the time)

So,

  • calling refresh stops the control from responding to the mouse click
  • it does however respond to the spacebar.

A _short-term hack_ is to comment out line 100 of checkbox-x-.js (inside the change handler)

if (trigChange && !useNative && !skipTrig) {
    //$el.trigger('change');                                <== This 
} else {

I must stress that this is a hack!!! I'd rather the author had a look at this.

Cheers,
Nick

from bootstrap-checkbox-x.

kartik-v avatar kartik-v commented on May 28, 2024

Seems you are using an outdated release. You need to use the latest release v1.5.4.

from bootstrap-checkbox-x.

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.