You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Assigned) (JIRA)" <ji...@apache.org> on 2012/01/17 11:46:39 UTC

[jira] [Assigned] (WICKET-4341) Autocomplete dropdown's position is wrong when placed inside scrollable div but with position:static

     [ https://issues.apache.org/jira/browse/WICKET-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-4341:
---------------------------------------

    Assignee: Johan Compagner

Johan, you often fix similar problems in this code. Can you review ?
                
> Autocomplete dropdown's position is wrong when placed inside scrollable div but with position:static
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4341
>                 URL: https://issues.apache.org/jira/browse/WICKET-4341
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.19
>            Reporter: Michal Waciega
>            Assignee: Johan Compagner
>            Priority: Minor
>              Labels: patch
>         Attachments: wicket-autocomplete-positioning-1.4.19.patch
>
>
> Function getPosition(obj) of wicket-autocomplete.js takes into account only those DOM path elements which are offset parents. Result is wrong when there are also elements that arent positioned (not being offset parents), but with overflow (scrollbars present). These scrollbar offsets aren't taken into account, so final result returned is wrong.

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