[ 
https://issues.jboss.org/browse/RF-11565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713782#comment-12713782
 ] 

Morten Ludvigsen commented on RF-11565:
---------------------------------------

In Google chrome 21.0.1180.83 the bug can be tracked down to line 330 in 
Autocomplete.js


    var updateInputValue = function (value) {
        var field = rf.getDomElement(this.fieldId);
        var inputValue = field.value;

330        var cursorPosition = rf.Selection.getStart(field);


if keys are used to select, no blur event happens, and the currentPosition is 
correct.
if mouse are used to select, a blur event occurs, and the currentPosition is 
allways 0.

                
> Showcase: multiple selections in rich:autocomplete doesn't work when 
> "clicking" is used
> ---------------------------------------------------------------------------------------
>
>                 Key: RF-11565
>                 URL: https://issues.jboss.org/browse/RF-11565
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input, showcase
>    Affects Versions: 4.1.0.Milestone3
>         Environment: iPhone 4 (Safari)
> Nexus (Android 2.3.6)
> Google Chrome 12.0.742.112
>            Reporter: Jan Papousek
>             Fix For: 4.Future
>
>
> The second a third autocomplete input in Showcase demo 
> http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=autocomplete
>  [1] doesn't work properly on the mentioned browsers/devices:
> # type "Al"
> # select "Alabama" -> input field is containing "Alabama"
> # type ", P"
> # select "Pennsylvania" with mouse/finger -> input field is containing 
> "Pennsylvania, P" (it should contain "Alabama, Pennsylvania")
> The Safari developer's console on iPhone doesn't display any error.
> It works properly on:
> - Opera 11.50
> - Firefox 6.0
> [1] http://10.0.2.2:8080/showcase/#autocomplete:modes in movile showcase

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to