NavigationView with Loading More in a List Crashes with Long Press only on iPad

I am creating a list that loads data when the user reaches the bottom of the list. I can crash the app when I load more elements and long-press an element within the list. The view is wrapped in a NavigationView and a NavigationLink. When the app crashes, you get EXCBADINSTRUCTION (code=EXCI386INVOP, subcode=0x0) with the thread 1 specialized saying "RandomAccessCollection<>.index(:offsetBy:))". Looking into the EXCBAD_INSTRUCTION I thought it could be force unwrapping, but I don't see anywhere in the code that could cause this issue.

The issue only occurs on an iPad and happens randomly. With WWDC being yesterday, I thought this would have been fixed, so we downloaded the beta for Xcode 12, and this error still occurs.




Howdy! Have you filed a feedback for this issue? We'd love to be able to take a look, and attaching a reproducing sample code like you have here would be great!
https://feedbackassistant.apple.com
Thanks for the fast response I have posted the feedback as requested with the sample code provided.
Thank you!
An update to this forum post, I was doing more testing, I am thinking it is the List component. Having a state variable within the view and adding more than one element and long pressing the elements that are being added, causes the crashing to happen even without the navigationview and navigationlink. The same error output is shown as stated initially. Still waiting on a response on the feedback thread.
NavigationView with Loading More in a List Crashes with Long Press only on iPad
 
 
Q