Closed ebidel closed 10 years ago
Trying to de-select the selected item, I've set selectedIndex = -1. This renders the bar outside the bounds of the element.
selectedIndex = -1
paperTab.selectedIndex = -1:
paperTab.selectedIndex = -1
Likewise, greater than the number of items, paperTab.selectedIndex = 4:
paperTab.selectedIndex = 4
Fixed. Also you should use "selected" instead of "selectedIndex" to select tab. "selectedIndex" should be used for getting the selected index, not setting it.
Ack. Thanks frankie
Trying to de-select the selected item, I've set
selectedIndex = -1
. This renders the bar outside the bounds of the element.paperTab.selectedIndex = -1
:Likewise, greater than the number of items,
paperTab.selectedIndex = 4
: