-
Notifications
You must be signed in to change notification settings - Fork 301
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
Problem with SelectBoxIt width of hidden selectbox #209
Comments
This issue should be fixed in the |
Thanks Greg. This fixes the problem of the ellipses appearing, but the underlying On 1 October 2013 21:43, Greg Franko [email protected] wrote:
|
@groodt Are you using auto width? Also, could you try to duplicate this issue on jsbin or jsfiddle? |
No. The code I'm using is:
Unfortunately, I've not been able to reproduce this in JS Bin yet. It only I'll keep trying to figure out what would be different on mobile devices. On 2 October 2013 19:23, Greg Franko [email protected] wrote:
|
Yea, I have a Galaxy S4. I would be happy to see the issue. |
Amazing, thanks Greg. I've added you to a Google+ community where you can On 2 October 2013 19:34, Greg Franko [email protected] wrote:
|
So behind the scenes, SelectBoxIt tries to position the original select box directly over the new SelectBoxIt drop down by setting CSS attributes. For some reason, it does not seem to be calculating some of those dynamic CSS values correctly. Could you try adding a CSS attribute (using an id selector) for your original select box, to set the width of your select box. Like this: select#mySelectBox {
width: 300px;
} |
Ok. If I do that, will it break my "fluid" layout. Right now, the selectbox On 2 October 2013 19:54, Greg Franko [email protected] wrote:
|
I think I can duplicate the issue now. I'll continue looking at it today, and will hopefully have a fix. |
Thanks Greg. How are you reproducing it? Visiting jsbin on mobile? On 2 October 2013 20:21, Greg Franko [email protected] wrote:
|
I just released |
Thanks Greg. Unfortunately, still doesn't appear to have fixed the issue for me. If I visit this bin on Android: http://jsbin.com/AjocuBi/19 |
How about if you override the select box width set by SelectBoxIt. Like this: http://jsbin.com/EqilEJe/3/edit |
That works a treat. Thanks again. |
If I have a hidden selectboxit and then unhide it, the width of the text is narrow and ellipses are shown. This has an added problem on Android, where the actual selectboxit click area is also reduced so most of the selectbox becomes unclickable.
jsbin showing the issue:
http://jsbin.com/AjocuBi/17/edit
Is there a way around this issue?
The text was updated successfully, but these errors were encountered: