-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
👻
Describe the bug
Advanced Example crashes when typing indicator is hidden
To Reproduce
Steps/code to reproduce the behavior:
- Open the example app
- Navigate to Advanced Example
- Typing indicator shows. Upon indicator hide, the app crashes.
Expected behavior
The indicator should not crash on hide.
Environment
- What version of MessageKit are you using? latest commit
- What version of iOS are you running on? iOS 16.4.1
- What version of Swift are you running on? Swift 5.8
- What device(s) are you testing on? Are these simulators? On Device
- Is the issue you're experiencing reproducible in the example app? Yes, it crashes on the example app
Additional context
Add any other context about the problem here.
The problem is partially solved when animation is set to false. However, other cases of the app crashing due to improper index still occurs (e.g. sending a message when indicator is visible).
