-
Notifications
You must be signed in to change notification settings - Fork 35
Description
- Laravel Version: 10.45.1
- Nova Version: 4.32.15
- PHP Version: 8.3.3
- Database Driver & Version: Mysql 8.0.33
- Operating System and Version: MacOS 14.2.1
- Browser type and version: Google Chrome 121.0.6167.160
Hey everyone,
Apologies for reaching out again. Over the past month, I've opened three issues regarding the "Difficulty Switching Searchable Filter Menus" problem (first, second, third).
Firstly, thank you for your quick responses and the fixes released so far. However, the issue persists.
To recap, I've enabled the searchable
and filterable
flags on some BelongsTo
fields.
While searching works fine on create/update pages, encountering at least two of these fields on the index page leads to difficulties when trying to use the filter menu. (For detailed explanations and recorded video demonstrations of the issue, please refer to the previous issues)
Some Investigations
Upon investigating the Nova source code, I found that commenting out this.$refs.input.focus()
in the chooseSelected
and choose
methods of resources/js/components/Inputs/SearchInput.vue
resolves the problem.
However, this disables the focus feature, reopening menus using keyup/keydown events, and the tab functionality.
Further investigation revealed that this issue arises when using SearchInput in nested dropdowns.
I hope this information is helpful. While I'm still working on finding a proper fix, I'm relatively new to Nova core.
Thanks for your understanding.
Reproduction Repository:
https://github.com/mostafaznv/nova-searchable-filters-bug
Video:
link