Comments (7)
@rohitdev Have you managed to test this yet? Can we consider this issue resolved?
from select2-bootstrap-css.
@nickl- @t0m I think it's safe to close this one:
- the original issue has been closed w/o @rohitdev coming back up to now as it contains a possible fix (which references an answer on stackoverflow seeming to work for Bootstrap 2; a related answer reportedly works for Bootstrap 3)
- from looking at the two provided plus the bunch of seemingly related issues (@t0m knows), comments, a pull request and a fork, fixing this is out of the scope of select2-bootstrap-css anyway
from select2-bootstrap-css.
Closed: considered to have support of the community (17 days without any disagreements)
from select2-bootstrap-css.
This requires more than css. Some modals such as Bootstrap modal require focus to stay on the modal (which it should, IMO). If select2 needs to be at body level, then it should stopPropagation of the focusin event so the search input works and to prevent a focus war.
https://github.com/ivaynberg/select2/pull/2176
from select2-bootstrap-css.
@mattslocum Is this something purely lacking in the bootstrap implementations or would you consider this a more general shortcoming which should rather be addressed upstream?
I am not against adding JS if it is required you are welcome to submit PRs for review....
from select2-bootstrap-css.
I would rather it be addressed upstream I think. It is more the bootstrap integration where it shows itself, but any integration where there is other code listening to focus could cause a problem.
Pull Request here: https://github.com/ivaynberg/select2/pull/2176/files
from select2-bootstrap-css.
Support added nicely done!
from select2-bootstrap-css.
Related Issues (20)
- master branch Sass can't be compiled with Sass v3.4.x
- Fix version number in compiled CSS
- Calmer Select2 dropdown box-shadow style
- Styles not applied HOT 2
- set "height: 38px; line-height: 1.82857;" for default HOT 3
- Increase Sass' default (5) `precision` to 8
- missing copyright statement in `select2-bootstrap.css` HOT 2
- Any plans on adding support for v4.0 of select2? HOT 2
- why is the latest release version number lower ? HOT 1
- Undefined Error HOT 2
- Select2 is being truncated when not focused HOT 3
- Bootstrap3 branch through composer HOT 3
- Multi select expanding while page loads HOT 2
- Select2 has-error Bootstrap class not working (with AngularJS Validation) HOT 1
- ES2015 modules support HOT 1
- Stop scrolling when you reach the bottom of the select2 list HOT 3
- Select2 for Bootstrap 4 HOT 7
- How can i take search input value of single? HOT 1
- Release Numbering HOT 2
- Not compatible with bootstrap 4 - HOT 1
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 select2-bootstrap-css.