You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andreas Kappler (JIRA)" <ji...@apache.org> on 2017/02/15 13:32:41 UTC
[jira] [Updated] (WICKET-6319) AutoCompleteTextField: popup is
hidden when clicking on scrollbar in IE
[ https://issues.apache.org/jira/browse/WICKET-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Kappler updated WICKET-6319:
------------------------------------
Description:
When the user clicks into the text field, a list with suggestions is opened in a popup. When the user scrolls this list by clicking on the vertical scrollbar, the popup disappears.
Affects IE11 and Edge, not affected is Chrome.
this seems similar to WICKET-5882
I have resolved the issue by replacing lines 91+ in wicket-autcomplete.js with the following code:
{code:java}
Wicket.Event.add(obj, 'blur', function (jqEvent) {
var menuId=getMenuId();
//workaround for IE. Clicks on scrollbar trigger
//'blur' event on input field. (See https://issues.apache.org/jira/browse/WICKET-5882)
if (menuId !== document.activeElement.id && (menuId + "-container") !== document.activeElement.id) {
window.setTimeout(hideAutoComplete, 500);
} else {
jQuery(this).trigger("focus");
}
});
{code}
I will try to attach a quickstart later
was:
When the user clicks into the text field, a list with suggestions is opened in a popup. When the user scrolls this list by clicking on the vertical scrollbar, the popup disappears.
Affects IE11 and Edge, not affected is Chrome.
this seems similar to WICKET-5882
I have resolved the issue by replacing lines 91+ in wicket-autcomplete.js with the following code:
Wicket.Event.add(obj, 'blur', function (jqEvent) {
var menuId=getMenuId();
//workaround for IE. Clicks on scrollbar trigger
//'blur' event on input field. (See https://issues.apache.org/jira/browse/WICKET-5882)
if (menuId !== document.activeElement.id && (menuId + "-container") !== document.activeElement.id) {
window.setTimeout(hideAutoComplete, 500);
} else {
jQuery(this).trigger("focus");
}
});
I will try to attach a quickstart later
> AutoCompleteTextField: popup is hidden when clicking on scrollbar in IE
> -----------------------------------------------------------------------
>
> Key: WICKET-6319
> URL: https://issues.apache.org/jira/browse/WICKET-6319
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 7.5.0
> Reporter: Andreas Kappler
>
> When the user clicks into the text field, a list with suggestions is opened in a popup. When the user scrolls this list by clicking on the vertical scrollbar, the popup disappears.
> Affects IE11 and Edge, not affected is Chrome.
> this seems similar to WICKET-5882
> I have resolved the issue by replacing lines 91+ in wicket-autcomplete.js with the following code:
> {code:java}
> Wicket.Event.add(obj, 'blur', function (jqEvent) {
> var menuId=getMenuId();
> //workaround for IE. Clicks on scrollbar trigger
> //'blur' event on input field. (See https://issues.apache.org/jira/browse/WICKET-5882)
> if (menuId !== document.activeElement.id && (menuId + "-container") !== document.activeElement.id) {
> window.setTimeout(hideAutoComplete, 500);
> } else {
> jQuery(this).trigger("focus");
> }
> });
> {code}
> I will try to attach a quickstart later
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)