[Support request] Close Navigation Search when it loses focus

Home Forums Support [Support request] Close Navigation Search when it loses focus

Home Forums Support Close Navigation Search when it loses focus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2365738
    David R

    Of course, clicking the X closes the search box, and so does hitting the Escape key. Is there a simple solution in place for causing the search to close upon losing focus?

    In a similar vein, it seems reasonable to have the contents of the search box cleared when it closes as well.

    #2365802
    Fernando
    Customer Support

    Hi David R,

    By default, the Off canvas panel should close when you click outside the panel.

    You’ll need custom JS code to automatically close the Off canvas when out of focus.

    Then same applies for the Search functionality – you’d need custom JS code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.