You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/19 13:56:00 UTC

[jira] [Commented] (WICKET-6867) AutoComplete list don't choose any item, if click took more then 500 ms

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

ASF subversion and git services commented on WICKET-6867:
---------------------------------------------------------

Commit f688376e8927ce6d3d6eb74f27ed0f63f08485be in wicket's branch refs/heads/master from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=f688376 ]

WICKET-6867 AutoComplete list don't choose any item, if click took more then 500 ms

Add logic to cancel the hiding of the menu of the mousedown event is on a menu item


> AutoComplete list don't choose any item, if click took more then 500 ms
> -----------------------------------------------------------------------
>
>                 Key: WICKET-6867
>                 URL: https://issues.apache.org/jira/browse/WICKET-6867
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 9.2.0
>         Environment: Linux - FF, Chromium
>            Reporter: Peter S.
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>
> If I try to choose item from autocomplete suggestion list and make longer click on item, then nothing select, and suggestion list disappear.
>  * If make mousedown on item in list, then onBlur event called - [https://github.com/apache/wicket/blob/b65d18d7bc9a7f443008d1a2e7789342bdc9a884/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js#L91]
>  * This start 500 ms timeout to hide autocomplete menu (if is every time true).
>  * If i make mouseup more then 500 ms after, autocomplete suggestion list disappear and select nothing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)