You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Benjamin Steinert (JIRA)" <ji...@apache.org> on 2013/02/20 11:23:14 UTC
[jira] [Commented] (WICKET-4893) AutoCompleteTextField removes
DropDownChoice from Page
[ https://issues.apache.org/jira/browse/WICKET-4893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13582069#comment-13582069 ]
Benjamin Steinert commented on WICKET-4893:
-------------------------------------------
The reason is the following if clause inside hideShowCovered():
if (popupVisible === 0 || (leftX>acRightX) || (rightX<acLeftX) || (topY>acBottomY) || (bottomY<acTopY))
The method argument popupVisible is a boolean actually (lines 424 and 452), but the comarison does not do a type conversion (=== 0 is always false).
To fix this, just change that clause to (=== false).
But complete removal is also fine ;) +1
> AutoCompleteTextField removes DropDownChoice from Page
> ------------------------------------------------------
>
> Key: WICKET-4893
> URL: https://issues.apache.org/jira/browse/WICKET-4893
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 6.3.0
> Environment: Internet Explorer 8
> Reporter: Martin Wischnewski
> Priority: Minor
> Fix For: 7.0
>
> Attachments: AutoComplete.zip
>
>
> Following Situation with Internet Explorer 8:
> I add two Components on a Page.
> A AutoCompleteTextField and beneath a DropDownChoice
> If i type something into the AutoCompleteTextField, a suggestionlist appears and hides the DropDownChoice.
> The DropDownChoice disappears from the Page and is not visible anymore.
> Note: In Firefox and Chrome the DropDownChoice doesn't disappear from the page.
--
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