Closed netonjm closed 2 years ago
@gitbot backport main
Backport Job to branch main Created! The magic is happening here
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5816510 for more details.
The old approach was doing a recusive iteration on every editor multiple times re-configuring next responder in any focus change, which was complicated to maintain/understand and dowhile{} was giving us unexpected results (Infinite loops).
To try improve how focus is handled over this views, now we only calculate the next/previous responder "on demand", when tab or shift+tab is pressed in a specific view implementing a ProxyRowResponder which knows if is first/end view and moves to the next available editor.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1472832