Opened 9 years ago

Closed 9 years ago

#10561 closed bug (worksforme)

ui assigns colliding ids

Reported by: maui444 Owned by: maui444
Priority: minor Milestone: none
Component: ui.core Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:


Example: Using accordion and tooltip on one document. Jquery ui provides overlapping ids for accordion and tooltip. Therefore "mouseleave" event, which is fired when leaving the element that created a tooltip, removes the first accordion bar with id "ui-id-1" instead of the tooltip itself which also has id "ui-id-1". Tooltips are being removed properly only when no accordion bar is left. All previously created tooltips stay visible.

Btw. ui version 1.10.4 worked properly

Change History (4)

comment:1 Changed 9 years ago by maui444

Ok, simple solution for this problem: Providing own ids for the headlines which will will become accordion bars/tabs prevents ui from giving standard ids. Still I don't appreciate the new approach from ui providing such simple and colliding ids ("ui-id-1") for different widgets.

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

Owner: set to maui444
Status: newpending

Please provide a test case showing the problem.

comment:3 Changed 9 years ago by maui444

Status: pendingnew

There is no need for a test case. It is obvious: ui accordion produces the same ids as tooltip does.

comment:4 Changed 9 years ago by Scott González

Resolution: worksforme
Status: newclosed

Well, considering that this works for me. I'll just close it. Feel free to provide a reduced test case showing the actual problem if you want us to do anything else.

Version 0, edited 9 years ago by Scott González (next)
Note: See TracTickets for help on using tickets.