Skip to content

Conversation

@shsa-odoo
Copy link

@shsa-odoo shsa-odoo commented Dec 22, 2025

Issue:
Arrow key navigation for search result items regressed with the new search bar layout. The previous logic in onKeydown was no longer triggered due to the updated DOM structure.

Fix:
Introduce a dedicated onSearchResultKeydown handler and wire it to search result items. The new method restores ArrowUp and ArrowDown focus management while keeping the existing input keydown behavior unchanged. Added a complete test case to cover arrow key navigation in
search results.

task-5424392

@robodoo
Copy link

robodoo commented Dec 22, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-split-results-dtda, it needs to be retargeted before it can be merged.

@divy-odoo divy-odoo force-pushed the master-split-results-dtda branch from 6ae593b to ee7dcef Compare December 22, 2025 13:46
@shsa-odoo shsa-odoo force-pushed the master-split-search-keydown-issue-shsa branch from be0f77f to 8b6213a Compare December 23, 2025 04:58
@divy-odoo divy-odoo force-pushed the master-split-results-dtda branch from ee7dcef to f4b55e0 Compare December 23, 2025 07:29
@divy-odoo divy-odoo force-pushed the master-split-results-dtda branch from f4b55e0 to eac9afc Compare December 23, 2025 08:45
Issue:
Arrow key navigation for search result items regressed with the
new search bar layout. The previous logic in onKeydown was no
longer triggered due to the updated DOM structure.

Fix:
Introduce a dedicated onSearchResultKeydown handler and wire it
to search result items. The new method restores ArrowUp and
ArrowDown focus management while keeping the existing input
keydown behavior unchanged.
Added a complete test case to cover arrow key navigation in
search results.

task-5424392
@shsa-odoo shsa-odoo force-pushed the master-split-search-keydown-issue-shsa branch from 8b6213a to 7ec22d0 Compare December 23, 2025 09:50
@divy-odoo divy-odoo force-pushed the master-split-results-dtda branch from eac9afc to a57de63 Compare December 23, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants