Code Monkey home page Code Monkey logo

Comments (5)

jamesdbowman avatar jamesdbowman commented on September 26, 2024

This was also happening to me in IE8, so I wrote a fix. It's not in the style of the rest of the program but its a dirty fix that works.

I added

this.ulMousedOver = false;

to the constructor function.

I also added

this.$menu.on('mouseenter', $.proxy(function(){this.ulMousedOver = true;}, this))
      this.$menu.on('mouseleave', $.proxy(function(){this.ulMousedOver = false; 
        if (!this.mousedover && this.shown && !this.$element.is(":focus")){
            var that = this
            setTimeout(function () { that.hide() }, 200)
        }
      }, this))

to the listen function.

Anyone feel free to use this snippet / implement it correctly and submit a patch if you'd like.

from bootstrap-combobox.

jclement avatar jclement commented on September 26, 2024

We were also encountering this problem and used the fix from @bowmessage

One thing I needed to add '!this.ulMousedOver' to the test in "blur":

      if (!this.ulMousedOver && !this.mousedover && this.shown) setTimeout(function () { that.hide() }, 200)

from bootstrap-combobox.

jamesdbowman avatar jamesdbowman commented on September 26, 2024

Glad to hear you used it as well @jclement ! Sorry that I forgot to include that part, I also had that written and forgot to include it in my post.

from bootstrap-combobox.

jclement avatar jclement commented on September 26, 2024

No worries. Sorted it out pretty quick. I'm glad you took the time to
write down the fix in the first place. I wasn't having much luck with it
myself.

On Tue, Jul 30, 2013 at 9:16 AM, bowmessage [email protected]:

Glad to hear you used it as well @jclement https://github.com/jclement! Sorry that I forgot to include that part, I also had that written and
forgot to include it in my post.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-21798110
.

Jeffrey Clement
http://jclement.ca

from bootstrap-combobox.

thephw avatar thephw commented on September 26, 2024

This was fixed by pull request #129

from bootstrap-combobox.

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.