Hi everyone, I am currently integrating Select2 into a frontend search module where users can filter gaming utilities and bloxfruit-scripts by specific categories. The initial render works as expected, but whenever a user types into the remote search field to fetch filtered tags asynchronously, the dropdown container occasionally loses focus and collapses before the data finishes rendering.
I suspected this might be an issue with how the debounce function interacts with the internal focus events, but the browser console displays no error messages. The AJAX responses return with a standard 200 status, yet the input loses focus and the parent wrapper dismisses the results menu unless clicked a second time.
Has anyone encountered this type of focus-dropping behavior with remote data sources? I would really appreciate any guidance on whether this should be resolved via custom event handling or by adjusting the dropdownParent configuration.