You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Problem: We have to give carousel width or height based on scroll direction and we cannot give the size as percentage (%) value, it requires number. Once the orientation is changed, the width changes but carousels width remains the same causing problems and extra calculations to handle orientation.
In my use case, i scroll among grids of 9 frames with contents making it extremely hard and crowded to calculate each frame.
Describe the solution you'd like
It would be perfect if the carousel could be sized with % values instead of static numbers. In this case, we would not require use of Dimensions API and related methods and side effects. We would give 100% width and a height my choosing which would enable me to focus on my job only without thinking of fitting the carousel in oriented use cases
Describe alternatives you've considered
I tried to measure the wrapper length with onLayout but it does not resolve the problem. I tried to alter the library source codes with Dimensions but could not get it done. Additional context
The carousel when orientation changed into landscape
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Problem: We have to give carousel width or height based on scroll direction and we cannot give the size as percentage (%) value, it requires number. Once the orientation is changed, the width changes but carousels width remains the same causing problems and extra calculations to handle orientation.
In my use case, i scroll among grids of 9 frames with contents making it extremely hard and crowded to calculate each frame.
Describe the solution you'd like
It would be perfect if the carousel could be sized with % values instead of static numbers. In this case, we would not require use of Dimensions API and related methods and side effects. We would give 100% width and a height my choosing which would enable me to focus on my job only without thinking of fitting the carousel in oriented use cases
Describe alternatives you've considered
I tried to measure the wrapper length with onLayout but it does not resolve the problem. I tried to alter the library source codes with Dimensions but could not get it done.
Additional context
The carousel when orientation changed into landscape
The text was updated successfully, but these errors were encountered: