Why is the opacity prop in the Backdrop not limited to the range between 0 and 1?
              
              #1920
            
            
              
                Unanswered
              
          
                  
                    
                      AradSharafi
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I noticed that the
opacityprop in theBackdropcomponent accepts a number but doesn't restrict this number to the typical range of 0 to 1. In most other libraries,opacityis constrained between 0 (fully transparent) and 1 (fully opaque).Could you please explain the rationale behind allowing any number for the
opacityprop? Is there a specific use case or flexibility intended with this design?Thanks for your time and for this awesome library!
Beta Was this translation helpful? Give feedback.
All reactions