Width Autoadjust on React Grid Gallery. #297
              
                Unanswered
              
          
                  
                    
                      alonsou2ve
                    
                  
                
                  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.
-
Hello, thank you for sharing this great asset.
On the guide website, the section Image Selection under Example the gallery images shown change their width automatically, maintaning the same rowWith without adding blank extra space between them thus preserving aspect while changing the screen dimension. All rows have the same rowWidth giving a uniform aspect.
https://benhowell.github.io/react-grid-gallery/examples/selection
Can you provide any tip to reproduce this effect? I manage to build the gallery but when changing the screen dimension the images moves to the next row adding blank space and loosing the square aspect you manage to achieve on your website.
Any documentation, video or website is really appreciated.
Beta Was this translation helpful? Give feedback.
All reactions