iOS17 TextField SwiftUI firstResponder does not work

Recently, I have downloaded on external drive Xcode 15 Beta 7 then 8. And my project stopped work correctly with TextFields. When clicking on text field cursor appears and immediately disappears.

Before installing beta Xcode everything worked well, in console getting some error:

-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID

Even when I installing it on device, same issue. I cannot provide beta test to my App

Same issue and my solution.

Scene: iOS17 + ScrollView + LazyVStack + Textfields.(iOS16 working as expected)

Log: -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID.

Solution: Replace LazyVStack with VStack solved my problem.

iOS17 TextField SwiftUI firstResponder does not work
 
 
Q