Bug Tracker

Modify

Ticket #7925 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

UI position() utility with collision can change element width

Reported by: thephatmann@… Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocking: Blocked by:

Description

If an element does not have a width, then using position() with collision set to "fit" can change the width of the element. The fix is to get the width before positioning the object and then restore it afterwards.

Change History

comment:1 Changed 2 years ago by jitter

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

The big red box on the "New Ticket" page rather clearly states:

For jQuery UI (Autocomplete, Sortable, Draggable, Tabs, etc.):

This is NOT the correct form!

This tracker you submitted your bug on is for jQuery core bugs only. Thus to file a report for jQuery UI you will need to re-submit your ticket to the  jQuery UI Bug Tracker for further assistance as they handle all UI-related tickets. Thanks!

comment:2 Changed 2 years ago by anonymous

Filed the bug in jQuery UI tracker as directed.

The "big red box" is not as noticeable as you would think, as it gives the impression of a general warning about how to file a bug, rather than a warning about where to file it. Even looking at it again just now I found it much too easy to skim over.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.