You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the autocomplete form and input is placed in an absolute positioned container (eg. a modal dialog) and a custom panelContainer is used (pointing to an element in the same absolute positioned container), the panel is misplaced (towards bottom-right).
Internally we compute the top and left positions of the panel based on the search box', and apply them on the style of the element (.aa-Panel). This, no matter their parent's position.
I guess a solution would be to detect the parent's position and add the style conditionally.
Description
When the autocomplete form and input is placed in an absolute positioned container (eg. a modal dialog) and a custom
panelContainer
is used (pointing to an element in the same absolute positioned container), the panel is misplaced (towards bottom-right).Reproduction
Preview →.
Steps
Expected behavior
Even when custom
panelContainer
is used inside an absolute positioned element, the panel should be placed below the search input.Environment
The text was updated successfully, but these errors were encountered: