How to replicate the native Modal functionality #1620
              
                
                  
                  
                    Answered
                  
                  by
                    shessafridi
                  
              
          
                  
                    
                      shessafridi
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I want to close the bottom sheet when the user presses the back button on Android and also when User taps outside on the backdrop, also what is the best practice for binding the bottom sheet to a boolean state variable as the bottom sheet lacks a  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            shessafridi
          
      
      
        Nov 8, 2023 
      
    
    Replies: 1 comment
-
| UPDATE, I ended up doing something like this Now the experience is like this  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        shessafridi
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
UPDATE, I ended up doing something like this