Not working with jQuery >=1.8.0 #74

Closed
ikostia opened this Issue Sep 12, 2012 · 9 comments

Projects

None yet

8 participants

@ikostia
ikostia commented Sep 12, 2012

Probably this is somehow related to other styling (width) issues but I'm not sure.

If one takes the main page http://textextjs.com/ and substitutes jQuery-1.6.1.js which is used to jQuery-1.8.0.js, strange styling issues appear. Underlying textbox becomes visible to the right of styled textext input box.

Here is a snapshot: https://skitch.com/ikostia/euy82/jquery-textext-plugin

Thanks,
Kostia

@halfdan
halfdan commented Sep 13, 2012

I can confirm this issue. The Textbox just increases its width to the right for each new item added.

@vbogoev
vbogoev commented Sep 15, 2012

I'm using jQuery 1.8.0 and don't have any problems with width. However, I have another issue: All tags disappear when I move the mouse above the texext textarea... The most interesting thing is that it doesn't happen every time. Any ideas?

@yoanntrouillet

We are using your plugin (excellent work btw) but since we upgraded to jQuery 1.8.2 (and twitter boostrap 2.1.1) the plugin has issues - we cannot view/create/deletes tags. No js error is thrown however.

@mimo84
mimo84 commented Sep 27, 2012

I can confirm this issue, in jQueryt 1.8+. Also if you have to write something wider than the size of the input, the text disappear until you don't press enter.

@alexgorbatchev
Owner

Thanks for reporting this. I haven't had a chance to try jQuery 1.8 yet. Has anyone tried diagnosing the issue yet?

@FaFiNoS
FaFiNoS commented Oct 2, 2012

I've commented line 981 (not compressed js of course) and issue with textbox width disappeared. Textbox width need to be set by class or inline style. I'm using jQuery 1.8.2 and jQuery-UI 1.8.24.

..
981: //input.width(width)
..

@andrusha
andrusha commented Oct 4, 2012

@yoanntrouillet I have similar issue with jQuery 1.7.2 and Bootstrap 2.0.4

@andrusha
andrusha commented Oct 4, 2012

Doesn't work with 1.8.2 and no-conflict 1.6.1 either.

@alexgorbatchev
Owner

Thanks for everyone reporting this and especially to @FaFiNoS for finding the root cause. Here's the commit that fixes this

d02ff70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment