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

Already on GitHub? Sign in to your account

width: 'resolve' no longer pulls the correct width from css #1140

seanparmelee opened this Issue Apr 3, 2013 · 2 comments


None yet
3 participants

The 1px width on the select2-offscreen class causes the width: 'resolve' functionality to return 1px instead of the width that was originally set via css.


hoopyfrood commented Apr 6, 2013


@ivaynberg ivaynberg closed this in de07ba2 Apr 8, 2013


ivaynberg commented Apr 8, 2013

dupe of #1079

v-evfila pushed a commit to v-evfila/select2 that referenced this issue Mar 31, 2017

apply offscreen class after calculating width because offscreen class…
… resets the width. also use css('width') when copying width if it returns a usable value. fixes #1140. fixes #1079
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment