Detect click on webview


My project is using a webview, and within the webcontent, I added a “simple” bootstrap navbar with dropdown menu.

When displaying on screen, the navbar “overlaps” the webview, and when I fired the dropdown menu items, I have to click on my navbar area to close it. (If I click on the webview, nothing happens)

Is there a way to get the click event on the whole webview ? (I guess I will be using ipc)
Is there another way, since I don’t want to inject code in the webview contents (too many CSS issues) ?

thanks for your help