Paging behavior scrollView and binding scrollPosition(id:)

Using a paging horizontal scrollView

 .scrollTargetBehavior(.paging)
 .scrollPosition(id: $model.value)

The first swipe model.value is not updated (but the view does page). Paging/scrolling after that, everything starts working and value updates just fine.

The value has a stable hash value and changing anchor position doesn't help.

Anyone else experiencing this?

Hi @fromToronto2 ,

This looks to be a bug to me, can you please file a bug report at https://feedbackassistant.apple.com and paste the FB number here? Please include a small reproducible sample project, thank you!

Paging behavior scrollView and binding scrollPosition(id:)
 
 
Q