Closed sbarer closed 2 years ago
@sbarer
Dynamic options are not yet available.
The same and temporary examples as the following issues are provided.
Thanks for the response! The workaround in the link you provided worked great for me. much appreciated.
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions! 한글
이 이슈/PR은 commits, comments, labels, milestones 등 30일간 활동이 없어 자동으로 stale 상태로 전환되었습니다. 이후 7일간 활동이 없다면 자동으로 닫힐 예정입니다. 프로젝트 개선에 기여해주셔서 감사합니다.
Description
When using React version, I have set the layoutOptions->column prop to be [0,getNumberOfColumns)], where getNumberOfColumns returns a value between 2 & 5 based on the width of the window. I have confirmed that the return value is as expected. However, when I cross a threshold where the number of columns should change, the JustifiedLayout element does not redraw with the newly specified number of columns, but instead just enlarges/shrinks the photos to fill the bigger/smaller window. I have isConstantSize: false, isEqualSize: false as well. Basically, I want the "none" behaviour of isConstantSize shown in the gif here: https://user-images.githubusercontent.com/3433062/40041387-b98fc9e8-5858-11e8-979a-736126d15310.gif