wanadev / PhotonUI

A javascript framework to create user interfaces
http://wanadev.github.io/PhotonUI/
BSD 3-Clause "New" or "Revised" License
63 stars 20 forks source link

Do not set tabLayout active tab in constructor if not visible #160

Closed robincartier closed 3 years ago

robincartier commented 3 years ago

If a TabLayout is in created with a visible: false attribute. The constructor will still set the active tab and go through the show method of the first TabItem.

By removing this, when the TabLayout is shown, it will set and show the activeTab

Edit: this should be the case