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

Select box changes its width upon refresh!! #492

Closed
ellhn opened this issue Sep 9, 2013 · 3 comments
Closed

Select box changes its width upon refresh!! #492

ellhn opened this issue Sep 9, 2013 · 3 comments
Labels

Comments

@ellhn
Copy link

ellhn commented Sep 9, 2013

I 've created the following select list:
$("#offer").multiselect({
minWidth:430,
height:250,
noneSelectedText: 'Ἐπιλέξτε',
multiple:false,
header:false,
selectedList: 1
});

Every time I am trying to clear its contents with:
$("#offer").val("");
$("#offer").multiselect("refresh");

the width of the selected list grows up a little to the right... Why this? It is very annoying. Any idea to correct it?
Thank you very much

@marshallds
Copy link

I too have this issue.

@mlh758
Copy link
Collaborator

mlh758 commented Jan 5, 2018

I just confirmed this still happens on the latest version of the widget, jquery, and jquery ui.

All that's required is calling refresh on the widget after it is initialized. Changing the value isn't necessary to reproduce the issue.

@mlh758 mlh758 added the defect label Jan 5, 2018
@mlh758
Copy link
Collaborator

mlh758 commented Jan 30, 2018

This is fixed in version3.

@mlh758 mlh758 closed this as completed Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants