Comments (2)
My problem may have been the same as yours Francois. I noticed that the position method of jQuery was the culprit, as customSelect uses it to determine where to position the select.
//line 53 @ commit 8425a981303845ff595f64218c69120118b1842b
position = $select.position();
https://github.com/adamcoulombe/jquery.customSelect/blob/master/jquery.customSelect.js
In the jQuery documentation it says that this is the "current position of an element relative to the offset parent". Apparently the "offset parent" is the first ancestor of the element that has relative positioning. My solution was to wrap the select with a div and set the wrappers position to relative.
I would recommend the admins of this plugin to mention this in their documentation ;)
from jquery.customselect.
Should be fixed after reverting to 0.4.1
from jquery.customselect.
Related Issues (20)
- Uncaught TypeError: Cannot read property 'msie' of undefined
- Why not wrap everything in a container for responsive? HOT 3
- Unnecessary focus/blur on keyup.
- Have to click twice to get focus on input element
- Trigger render on resize
- jQuery 3 Compatibility
- How to remove unwanted padding on styled select in IE11/Windows 8 HOT 1
- Can't get selected option value for filtering
- Issue with js code on demo webpage - quick fix
- How to get selected value ? HOT 2
- Customize Options
- Option text is overlapping how we can fix this and how we can change drop down width and border color HOT 2
- Width to 100% not working HOT 3
- Dropdown doesn't open when adding pseudo elements in css HOT 2
- Easily fixable drop down size bug - With solution
- Weird width change at refresh
- Font size for Firefox and IE
- Safari Bug?
- Overrun in options
- CustomSelect breaks Twitter Boostrap tooltips
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 jquery.customselect.