Buttons "active" styling doesn't work
See original GitHub issueI tried the Footer with only icons example from the docs, which should show the navigation icon as the only active button. But for me, all buttons are shown active - What’s the issue?
react-native, react and native-base version
- react-native-cli: 2.0.1
- react-native: 0.50.4
- react: 16.0.0
- native-base: ^2.3.8
Expected behaviour
Only the navigation button should be active. Like this:
Actual behaviour
All buttons in the tabbar are shown active, as seen in the screenshot.
Steps to reproduce (code snippet or screenshot)
<Footer>
<FooterTab>
<Button>
<Icon name="apps" />
</Button>
<Button>
<Icon name="camera" />
</Button>
<Button active>
<Icon active name="navigate" />
</Button>
<Button>
<Icon name="person" />
</Button>
</FooterTab>
</Footer>
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
My device is a Huawei P8 running Android 6.1.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Bootstrap button active and target styling not working
:active is working fine. Just after releasing your mouse button it works as :hover. :active is just for mouse press not for click....
Read more >active - CSS: Cascading Style Sheets - MDN Web Docs
The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user. When using a mouse, "activation" ......
Read more >How to solving : CSS selector “:active” not working
I'm very confused, because :hover selector was working normaly, but active not working. The code: ::CSS:: #working #selec:hover{background-color ...
Read more >Styling The Good Ol' Button Element - Ahmad Shadeed
Adding on that, I will explain how to style the most common button styles, and shed light on some pitfalls we face while...
Read more >Styling buttons, the right way - Florens Verschelde
Learn how to create an accessible button style which can be used with the correct ... Step 3, Styling hover, focus and active...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed with NB 2.3.10
hi, i have the same problem i using
NB:2.13.8
,RN:0.61.5
using emulator android 5.1 PS : i’m not using footer@SupriyaKalghatgi