Evo-Forge / Essence

Essence - The Essential Material Design Framework
MIT License
415 stars 47 forks source link

Tabs not working as they should #17

Closed raulmatei closed 9 years ago

raulmatei commented 9 years ago

How to reproduce:

  1. Open up the tabs component's example
  2. Identify the active tab (it should be the first one)
  3. You can identify it as active because the text stands out a little bit more than the others
  4. Click on another tab - the content changes and suddenly a yellow border appears at the bottom of the tab
  5. Now click on one of the other tabs (you choose) - the content changes and the yellow border smoothly changes its position to the active tab

What's the expected result:

What's the actual result: As stayed above:

hetmann commented 9 years ago

Tabs: added new method renderFirstItem() on componentDidMount (file: TabMenu.js)