Hide list on click away

I am having a list, which shows the searched text as history. I want to hide the list, if user do not chooses option from list.

Set list visibility to false. :tipping_hand_man:

how to check event of lost focus, or click away

Use first two blocks.

1 Like