Return-Path: Delivered-To: apmail-wicket-commits-archive@www.apache.org Received: (qmail 25273 invoked from network); 9 Mar 2011 12:24:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 12:24:21 -0000 Received: (qmail 47671 invoked by uid 500); 9 Mar 2011 12:24:21 -0000 Delivered-To: apmail-wicket-commits-archive@wicket.apache.org Received: (qmail 47617 invoked by uid 500); 9 Mar 2011 12:24:21 -0000 Mailing-List: contact commits-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@wicket.apache.org Delivered-To: mailing list commits@wicket.apache.org Received: (qmail 47610 invoked by uid 99); 9 Mar 2011 12:24:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 12:24:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 12:24:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B902C3A0AB0 for ; Wed, 9 Mar 2011 12:23:59 +0000 (UTC) Date: Wed, 9 Mar 2011 12:23:59 +0000 (UTC) From: "Rajeev (JIRA)" To: commits@wicket.apache.org Message-ID: <1651724152.7752.1299673439754.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (WICKET-3093) Self-updating AutoCompleteTextField moves focus to start of field in IE only MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WICKET-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004510#comment-13004510 ] Rajeev commented on WICKET-3093: --------------------------------- Thanks Attila... After adding this at the start of head, it is working fine now.. Thanks a ton for your help and looking into the issue. :):) > Self-updating AutoCompleteTextField moves focus to start of field in IE only > ---------------------------------------------------------------------------- > > Key: WICKET-3093 > URL: https://issues.apache.org/jira/browse/WICKET-3093 > Project: Wicket > Issue Type: Bug > Affects Versions: 1.4.12 > Reporter: Alex Grant > Assignee: Martin Grigorov > Priority: Minor > Attachments: WICKET-3093-autocomplete.zip, WicketTestProject.zip > > > I have an AutoCompleteTextField that has a AjaxFormSubmitBehavior("onchange") attached so that we can canonicalise the value (eg correct the case) automatically. In IE only, when you pause long enough to trigger the AjaxFormSubmitBehavior, the cursor moves to the start of the text field, so if you type "123" slowly you may be "312". > This is only an issue in IE as it is caused by WICKET-2279 - if I remove the javascript added for that bug the problem goes away. > The problem can also be solved by changing AjaxFormSubmitBehavior("onchange") to AjaxFormSubmitBehavior("onblur"), but I still consider it a bug given it only occurs in IE - Firefox and Chrome behave correctly no matter what you do. > Also, since the javascript added in WICKET-2279 starts with the comment "// hack for a focus issue in IE, WICKET-2279" I figured you'd like to know about any quirky behaviour it causes. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira