Comments (5)
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.
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.
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.
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.
This was fixed by pull request #129
from bootstrap-combobox.
Related Issues (20)
- If select has HTML5 Required attribute, form is not submitting. HOT 2
- Keep a menu open unless clicked outside
- Unable to select the options with space appended at the end HOT 8
- The typed by user value disappear after moving focus to different element HOT 3
- Update the README HOT 3
- Uncaught TypeError: Cannot read property 'setAttribute' of null HOT 5
- Options examples
- Publish 1.2.0 updates HOT 2
- Two conflicting change events triggered upon clicking on a filtered option
- Change Event Fires Multiple time HOT 1
- Remove glyphicon not shown when using with jQuery 3.5.1 HOT 3
- Up and down arrow keys not working with Bootstrap 4 HOT 1
- Empty value in the combobox is encountering an exception HOT 5
- Modifications to work with Bootstrap 4.6
- Adding a delay
- I have a problem when i make a clone of the combobox
- How to trigger an input change event when clearIfNoMatch is set to false
- Make it a real combo box
- Bootstrap 5 Floating Label - additional feature
- Destroy combobox or update options?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-combobox.