-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
Description
Describe the bug
I am using the pod of latest versions of Instructions(1.3.1). There is a random crash happening which is frequent. Attached here the screen shot. The crash is on 225 line number in file CoachMarkLayoutHelper. Here is the code:
let segmentIndex = Int(ceil(2 * pointOfInterest.x / frame.size.width))
Looks like at some moment, the frame.size.width is 0 which makes it crash.
To Reproduce
Happening randomly and not reproducible
Expected behavior
Crash should not happen
Environment:
- Device: All
- iOS version: iOS 11 to iOS 12.4.1
- Dependency Manager: CocoaPods
Additional context
