This repository was archived by the owner on Nov 27, 2022. It is now read-only.
  
  
  
  
How to use OnPress in TabBar's renderLabel #1281
              
                
                  
                  
                    Answered
                  
                  by
                    edreyyo
                  
              
          
                  
                    
                      EricaLi123
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Why does not Clicking btn1 or btn2 trigger event of onPress?  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            edreyyo
          
      
      
        Oct 19, 2021 
      
    
    Replies: 1 comment 1 reply
-
| The  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        satya164
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
The
onTabPressevent handler is likely getting fired instead. See https://github.com/satya164/react-native-tab-view#ontabpress