Code Monkey home page Code Monkey logo

Comments (7)

nickl- avatar nickl- commented on August 23, 2024

@rohitdev Have you managed to test this yet? Can we consider this issue resolved?

from select2-bootstrap-css.

fk avatar fk commented on August 23, 2024

@nickl- @t0m I think it's safe to close this one:

from select2-bootstrap-css.

nickl- avatar nickl- commented on August 23, 2024

Closed: considered to have support of the community (17 days without any disagreements)

from select2-bootstrap-css.

mattslocum avatar mattslocum commented on August 23, 2024

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.

nickl- avatar nickl- commented on August 23, 2024

@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.

mattslocum avatar mattslocum commented on August 23, 2024

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.

nickl- avatar nickl- commented on August 23, 2024

Support added nicely done!

from select2-bootstrap-css.

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.