0

I wonder if there is another way of monitoring if a user leaves a <div>? Because when I tab trough the under menu below, the onBlur event is fired for every tab. What I want to acheive is that I can set open to false when the user have tabed trough the submenu. What is the correct way?

RMT
  • 942
  • 2
  • 12
  • 32
  • 1
    Please visit the [help], take the [tour] to see what and [ask]. Do some research, search for related topics on SO; if you get stuck, post a [mcve] of your attempt, noting input and expected output using the `[<>]` snippet editor. – mplungjan Sep 24 '20 at 07:54
  • @mplungjan how did you create this message? It is auto-generated, or you copy-paste it? – Anton Sep 24 '20 at 08:24
  • 1
    @Anton https://stackapps.com/questions/2116/autoreviewcomments-pro-forma-comments-for-se – mplungjan Sep 24 '20 at 08:31
  • 1
    The text I use is : Please visit the `[help]`, take the `[tour]` to see what and `[ask]`. Do some research, search for related topics on SO; if you get stuck, post a `[mcve]` of your attempt, noting input and expected output using the \`[<>]\` snippet editor. – mplungjan Sep 24 '20 at 08:32

0 Answers0