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
Describe the bug
When using pagerTabStripViewStyle on iOS 16.4, PagerTabStripView crashes every time when shown. The issue is caused by line 130 from PagerSettings: let indexAndPercentage = -contentOffset / width
This happens only on iOS 16.4, where initially the width used here is 0. As a workaround, setting the minWidth for PagerTabStripView to a non-zero real number (e.g: 1) fixes the the issue.
Versions (please complete the following information):
Xcode: Xcode 14.3 RC
Device: any
OS: 16.4 (currently beta)
The text was updated successfully, but these errors were encountered:
Describe the bug
When using pagerTabStripViewStyle on iOS 16.4, PagerTabStripView crashes every time when shown. The issue is caused by line 130 from PagerSettings:
let indexAndPercentage = -contentOffset / width
This happens only on iOS 16.4, where initially the width used here is 0. As a workaround, setting the minWidth for PagerTabStripView to a non-zero real number (e.g: 1) fixes the the issue.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: