Skip to content

Conversation

Rendez
Copy link
Contributor

@Rendez Rendez commented Jan 9, 2018

Implementing react-tabs with custom TabList + Tab components can be currently done using the corresponding tabsRole static property, and this is neat. However, the check within isTabNode() relies on the tagName being an LI element, and this has some limitations for cases where a custom <TabList /> component's markup does not match the ul > li structure.

Implementing `react-tabs` with a custom `TabList` & `Tab` components can be currently done by using the corresponding `tabRole` static in custom components. This is neat. However, the check within `isTabNode()` relies on the tagName being an `LI` element, and this has some limitations for cases where the `tabList` markup isn't done using a `ul > li` structure.
@danez danez merged commit 5bd6bfe into reactjs:master Jan 9, 2018
@Rendez Rendez deleted the patch-1 branch January 9, 2018 13:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants