[ 6 posts ]

vysun

  • Joined: Thu Jun 11, 2009 5:26 am
  • Posts: 71
  • Offline
  • Profile

Autocomplete show empty contain in IE7 document mode

Post Posted: Fri Jan 13, 2012 9:29 am
+0-
Autocomplete In IE 7 has two issues in YUI 3.4.1:
Show empty container when has filter value, you have to key-in several time to show the list.
Loss focus doesn't some time doesn't close the AC contain also show empty container.

You can find this issue on YUI example.

http://yuilibrary.com/yui/docs/autocomplete/ac-local.html

Please give me a suggestion how to solve the IE7 issue.

Ryan Grove

YUI Developer

  • Username: rgrove
  • Joined: Tue Dec 09, 2008 9:55 pm
  • Posts: 275
  • Location: Portland, OR
  • Twitter: yaypie
  • GitHub: rgrove
  • Gists: rgrove
  • IRC: rgrove
  • YUI Developer
  • Offline
  • Profile

Re: Autocomplete show empty contain in IE7 document mode

Post Posted: Fri Jan 13, 2012 10:30 am
+0-
Thanks for the report. I'll look into this.

vysun

  • Joined: Thu Jun 11, 2009 5:26 am
  • Posts: 71
  • Offline
  • Profile

Re: Autocomplete show empty contain in IE7 document mode

Post Posted: Wed Jan 25, 2012 5:48 am
+0-
Thanks Ryan, Due to production issue, would you give me some of work around solution. Thanks,

Ryan Grove

YUI Developer

  • Username: rgrove
  • Joined: Tue Dec 09, 2008 9:55 pm
  • Posts: 275
  • Location: Portland, OR
  • Twitter: yaypie
  • GitHub: rgrove
  • Gists: rgrove
  • IRC: rgrove
  • YUI Developer
  • Offline
  • Profile

Re: Autocomplete show empty contain in IE7 document mode

Post Posted: Wed Jan 25, 2012 11:01 am
+0-
This seems to fix the issue for me:

Code:
if (Y.UA.ie === 7) {
    ac.after('visibleChange', function (e) {
        Y.one('body').addClass('ie7-sucks').removeClass('ie7-sucks');
    });
}

Replace `ac` with the name of your AutoComplete instance.

vysun

  • Joined: Thu Jun 11, 2009 5:26 am
  • Posts: 71
  • Offline
  • Profile

Re: Autocomplete show empty contain in IE7 document mode

Post Posted: Thu Jan 26, 2012 11:45 am
+0-
Thanks so much.

Venkat G

  • Username: venkatatgmail
  • Joined: Sun Jan 15, 2012 2:30 am
  • Posts: 3
  • Offline
  • Profile

Re: Autocomplete show empty contain in IE7 document mode

Post Posted: Mon Mar 12, 2012 2:07 am
+0-
Hi,

I am also facing the same issue. Tried the above suggestion but didn't work for me.

Can you please explain the above soln?
  [ 6 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum