Changes from background agent bc-e56ee320-1921-4e88-88c5-1f2a93d9a874 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes
replaceAllbreaking cycling navigation by ensuring the first panel is always selected and the layout is reset for full panel accessibility.When
virtualizewas enabled, callingreplaceAllcould leave panels incorrectly positioned or inaccessible for cycling, especially if the previously active panel was not the first one. This PR ensures that afterreplaceAll, the first panel (index 0) is always set as the current panel, and the layout is explicitly reset to allow seamless navigation through all panels, regardless ofrenderRadius.