8000 Select2 don't resize properly · Issue #6323 · select2/select2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Select2 don't resize properly #6323

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

Open
prox108 opened this issue Jul 1, 2024 · 0 comments
Open

Select2 don't resize properly #6323

prox108 opened this issue Jul 1, 2024 · 0 comments

Comments

@prox108
Copy link
prox108 commented Jul 1, 2024

Hi guys, for a time I started to use select2 with Bootstrap 3 and I found out some rare behaviour.

The select2 don't resize itself when I try to resize the window.

Captura

When you remove the initialization from the JS file works properly, but you will lose the select2 propieties.

I share with you my code:

HTML:

<div class="row"> <d 57E4 iv class="col-sm-12"> <div class="form-group col-sm-3 has-feedback" id="gproblem"> <label class="control-label" for="iunidad_atencion">Problem *</label> <select class="form-control" id="iNproblem" name="problem"> <option value="">Seleccione la problem</option> </select> </div> <div class="form-group col-sm-3 has-feedback" id="ganother"> <label class="control-label" for="ianother">Another*</label> <select class="form-control" id="iNanother" name="ianother"> <option value="">Seleccione la another</option> </select> </div> </div> </div>

JS:
$('#iNproblem').select2({ // });

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

1 participant
0