mardi 30 octobre 2018

How to exclude a specific div on 'focus-out' event

I work on an Ember application, where i have :
1.
2. <div class="mylist"><u><li action >item</li></ul></div>

My problem is that when i click on an <li> item, the inputFocusOut function s executed.

Currently i have setTimeout inside the inputFocusOut to make it work.

But is there a way to exclude <div class="mylist"> when the focus-out event is triggered ? So not to be executed when i click on the <li>s , maybe?




Aucun commentaire:

Enregistrer un commentaire