[ 
https://issues.apache.org/jira/browse/MYFACES-3653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503221#comment-13503221
 ] 

Mircea Toma commented on MYFACES-3653:
--------------------------------------

Werner, you are right the newer browsers should work fine when keeping track of 
the focused element with document.activeElement. There are cases thought were 
the JS application code can interfere with the re-applying of the focus saved 
from document.activeElement, and this can occur in a nondeterministic way.

I agree that it is a lot of code for such a basic feature but it can cover a 
large percentage of focus related issues that an application can have, even 
with document.activeElement mechanism in place.
                
> Partial update for input elements require special case
> ------------------------------------------------------
>
>                 Key: MYFACES-3653
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3653
>             Project: MyFaces Core
>          Issue Type: Bug
>         Environment: any browser
>            Reporter: Mircea Toma
>            Assignee: Werner Punz
>         Attachments: ICE-8367.patch
>
>
> When focus is own by an input element and an incoming partial update will 
> update the element, the focus is removed from the element. Most often this 
> occurs when validation is run for each input field and input is cleared if 
> corresponding validation failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to