Skip to main content

Search and Top Navigation

#15202 closed feature (wontfix)

Opened June 08, 2017 05:06PM UTC

Closed June 08, 2017 05:13PM UTC

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?

Attachments (0)
Change History (1)

Changed June 08, 2017 05:13PM UTC by scottgonzalez comment:1

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.