On Jan 7, 2014, at 1:04 PM, Andy Wallace wrote: > Thanks, Walter, we'll take a look. I was hoping to find a way to fix this one > - it looks like IE11 is grabbing the mouseclick event before it gets down to > the Autocompleter itself. SIgh. Thanks again, Microsoft. > andy
Firefox used to do this same thing as well, it's not just IE (mind you, this was when FF was in single-digit version numbers -- we're talking years). Clicks on the chrome (the elevator track and thumb generated by the browser) are not registered as being "on" the floating element, and since the behavior of Scripty's AC widget is to interpret a click anywhere but "on" itself as a signal to close the overlay, that's what happens. I forget how I worked around that years ago when I first encountered it in FF. Walter > > > > On Monday, January 6, 2014 7:51:48 PM UTC-8, Walter Lee Davis wrote: > Here's a replacement I wrote a while back. It's mostly a drop-in replacement > for the one in Scriptaculous, although it probably lacks some of the fit and > polish of the original. It doesn't suffer from the scrolling issue because it > doesn't provide a scrollbar. You may want to experiment with that approach. I > find that it's also a good idea to make the server limit the number of > suggestions, so you don't so much need to scroll at all. > > https://gist.github.com/walterdavis/8294372 > > Walter > > On Jan 6, 2014, at 8:12 PM, Andy Wallace wrote: > > > I'm having an issue with IE11 and the autocompleter. It only shows up with > > IE11, all other browsers (including other versions of IE) are working > > fine... The problem is that, once the drop-down of selections appears, if > > you click on the scrollbar in any way, it disappears. You can see it on > > this test site: > > > > http://cis-test--of-enom.com > > > > In the lower part of the photograph, you'll see "City:". Type in the letter > > "a", or click on the down arrow, and the list appears. If you then click on > > the scrollbar, the list disappears. Selecting from the list works, and if > > you click on the scroll bar to scroll the list down, and then click on the > > down arrow, the list reappears in the correct position. There is a > > function defined in the code "hide:", which I have discovered is getting > > called. > > > > Version info: > > > > > > script.aculo.us controls.js v1.9.0 > > > > prototype 1.7 > > > > It's non-trivial to update my versions, so if there is an alternative, I'd > > rather use that in the short run. > > > > > > > > Thanks, > > Andy > > > > [email protected] > > > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Prototype & script.aculo.us" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/prototype-scriptaculous. > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/prototype-scriptaculous. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/groups/opt_out.
