facebook / componentkit

A React-inspired view framework for iOS.
http://www.componentkit.org/
Other
5.76k stars 587 forks source link

question: My component is not getting full width in screen landscape mode. #959

Open AyeMinnOo opened 3 years ago

AyeMinnOo commented 3 years ago

Hi guys, a few weeks ago, I tried so many tutorials and samples including WildGuess . But my components did not resize automatically in screen rotation. I used CKComponentSizeRangeFlexibleHeight for CKSizeRange. I also tried reload collection view in viewDidLayoutSubviews and viewWillTransitionToSize. What did I miss? Can someone help me . How to do to get full width in landscape mode?( cell resize )

caschomburg123 commented 3 years ago

Can it be removed from Facebook?

On Tue, Jan 19, 2021 at 1:50 AM Aye Min Oo notifications@github.com wrote:

Hi guys, a few weeks ago, I tried so many tutorials and samples including WildGuess . But my components did not resize automatically in screen rotation. I used CKComponentSizeRangeFlexibleHeight for CKSizeRange. I also tried reload collection view in viewDidLayoutSubviews and viewWillTransitionToSize. What did I miss? Can someone help me . How to do to get full width in landscape mode?( cell resize )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facebook/componentkit/issues/959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4MCYLI2P2QCZRVFJCMGFTS2UTS7ANCNFSM4WIJZ4ZQ .