PDA

View Full Version : [2.2][DUP][FIXED] Live search example broken in 2.2



volante
20 Aug 2008, 4:27 AM
Hi,

I downloaded Ext JS 2.2 and tried to set up an identical copy of the example at http://extjs.com/playpen/ext-2.0-dev5/examples/form/forum-search.html using the 2.2 library but in IE6 and IE7 the search box is displayed in the completely wrong place - it's stuck to the top of the page! Here are links to my demonstrations of the problem:

http://dev1.netspot.com.au/ucdev/integ/forumsearch.html - Broken in IE. This is a copy of the example but using the 2.2 ext libraries
http://dev1.netspot.com.au/ucdev/integ/forumsearch-2.0.html - I replaced the ext-all.js with the 2.0 version used in the example, and it displays properly in IE.

According to the IE debugger, the javascript in ext-all.js was setting the 'top' style on the input box to a number like -180, when using the new 2.2 version.

Is this a bug, how do I work around it please? I'm trying to create a live search so I was basing it on that code but have hit this problem!

Thanks

Condor
20 Aug 2008, 5:32 AM
This is a duplicate of this post (http://extjs.com/forum/showthread.php?t=43231) (fix included).

volante
21 Aug 2008, 11:48 PM
Hi Condor,

Thanks a lot for posting me that link. I found it a bit difficult to search the forums to see if my issue has been solved before, mostly because I'm a newbie and don't know the right search terms to use! That workaround worked great - thanks for taking the time to help me out.

Cheers