Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live search doesn't work accurately with Boostrap 2 #1002

Closed
stakemura opened this issue Apr 22, 2015 · 4 comments
Closed

Live search doesn't work accurately with Boostrap 2 #1002

stakemura opened this issue Apr 22, 2015 · 4 comments

Comments

@stakemura
Copy link

Live search doesn't work accurately with Boostrap 2.

  • Width of the search box is odd.
  • Item filtering doesn't work.

Can you help me, please.
Thank you

@caseyjhol
Copy link
Member

See guidelines for contributing. Any chance you can link me to a demo or jsfiddle? Have you been able to reproduce this with a reduced test case?

@stakemura
Copy link
Author

Thank you for reply.
The trouble #1 can be seen here https://jsfiddle.net/rtpdwpdg/2/
The trouble #2 seems to be Iocale-depended problem so I found it is not easy to reproduce.

@stakemura
Copy link
Author

Please check https://jsfiddle.net/rtpdwpdg/2/ on Firefox.

@caseyjhol
Copy link
Member

The width of the search box is simply an issue with the box-sizing property. In Bootstrap 3, it is set to border-box:

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

We no longer support Bootstrap 3 out of the box, as it became too time consuming to make everything work with both versions, and Bootstrap 3 was released nearly 2 years ago. If you want to use bootstrap-select with BS2, I recommend looking at some of the CSS from a version of bootstrap-select older than v1.6.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants