When the items are updated, the visual focus is stale, meaning that when navigating via the keyboard it will not work because the key does not exist in the list, so we need to update the visual focus when the list is updated during the component life cycle.
Thread https://liferay.slack.com/archives/C049XG98GQL/p1707334836231499
When the items are updated, the visual focus is stale, meaning that when navigating via the keyboard it will not work because the key does not exist in the list, so we need to update the visual focus when the list is updated during the component life cycle.