Skip to content

Conversation

@dgmachado
Copy link

@dgmachado dgmachado commented Feb 15, 2023

TabStrip style for the unselected item is not working.

Example CSS file:

MDTabStrip {
  background-color: #79d2a6;
  selected-item-color: red;
  un-selected-item-color: yellow;
  highlight-color: red;
}

TabStripClassStyle MDTabStripItem {
  background-color: #79d2a6;
}

Before bugfix:
https://user-images.githubusercontent.com/5738416/219018760-5b8756a3-85e1-4f3b-80cb-fb21084a0c8f.mp4

After bugfix:
https://user-images.githubusercontent.com/5738416/219018836-c5ee6a6a-a258-4b95-98b0-dc6f3acde74c.mp4

Resolution:
The mUnSelectedItemColor filled up on the CSS file should have greater priority than the default color.

@farfromrefug farfromrefug merged commit 97bb4bb into nativescript-community:master Feb 16, 2023
@farfromrefug
Copy link
Member

@dgmachado thanks!

@dyazincahya
Copy link
Contributor

@dgmachado thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants