SwiftUI UIViewRepresentable crashing with custom View

Hi, so I just published my app a few days ago. The app is written in SwiftUI.

One of my users had a crash with this stack trace. I found that the crash happened due to DoneTextField which is a custom SwiftUI View that I created to have a Done button as inputAccessoryView when the keyboard showing up. I tried but not able to reproduce.

Here is the crash log and the implementation of the DoneTextField

Do you have any insight into this crash? Please let me know, thanks!

SwiftUI UIViewRepresentable crashing with custom View
 
 
Q