Skip to content

Refactor Header Search bar event handlers out of requestIdleCallback

Tomas Bulva requested to merge move-main-js-event-handlers into master

What does this MR do and why?

Moving event handlers for header search out of deferred callback to improve the loading delay issue.

Screenshots or screen recordings

This is a technical dept improvement that has no visible change.

How to set up and validate locally

  1. Checkout this branch
  2. Click in the header search bar
  3. If you can see the dropdown this code works as expected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #360709 (closed)

Edited by Tomas Bulva

Merge request reports

Loading