Ticket #6648 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Autocomplete menu position issue when positioned to the right

Reported by: anonymous Owned by:
Priority: minor Milestone: 1.8.7
Component: ui.autocomplete Version: 1.8.6
Keywords: Cc:
Blocking: Blocked by:

Description

$("input#test").width(100).autocomplete({ position: { my: "right top", at: "right bottom" }, source: ["This is a very long option", "This was a very long option"] });

While typing "this i" the menu position isn't being repositioned to the right. I guess this is because the menu is positioned using css "left", and when the width changes the absolute "right" changes which causes a "jump" is the menu position.

Change History

comment:1 Changed 3 years ago by scott.gonzalez

  • Priority changed from undecided to minor
  • Component changed from unfiled to ui.autocomplete
  • Milestone changed from 1.5 to 1.9

comment:2 Changed 3 years ago by Scott González

  • Status changed from new to closed
  • Resolution set to fixed

Autocomplete: Re-position menu after resizing, not before. Fixes #6648 - Autocomplete menu position issue when positioned to the right.

Changeset: f85b998f44e68860c633e467fe6427e52f91282c

comment:3 Changed 3 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.7
Note: See TracTickets for help on using tickets.