#15202 closed feature (wontfix)

tabs with eq, not id

Reported by: mcanepa Owned by:
Priority: minor Milestone: none
Component: ui.tabs Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

I think that tabs widget should work based on element index rather than id.

I generate multiple containers that will become tabs dinamically, and then each could also have new tabs dinamically.

This represent a problem for me because I have to add and extra logic for not to repeat IDs.

A nice workaround would be to access a div based on it's index, the same index that the list item triggers.

So if I have 5 list items (tabs) and I click on the second one, then the second div (content) should be shown...regardless of the id.

what do you think?

Change History (1)

comment:1 Changed 22 months ago by Scott González

Resolution: wontfix
Status: newclosed

I think that's not how the web works and we're not going to change the behavior. DOM order does't mean anything, especially with sortable tabs.

Note: See TracTickets for help on using tickets.