-Setting webkit-app-region: drag CSS option prevents links from opening


#1

Issue

if I have CSS drag option set ( adding to index.html in <./head> tag), url links in Mainview and webviews are not clickable. If I remove the CSS drag option from the index.html all links work as expected. Anyone seen this issue before?

BrowserWindow option set to use no frame (frame: false)

App consists of

App Architecture

MainView
link1 url
link2 url

webview1

webview 2

index.css
body{ -webkit-app-region: drag}


#2

I answered my old question. Issue has been resolved.

I just answered my own question:

I had two buttons in MainWindow and they did not have no-drag option set in CSS (they were not included in CSS file). Once I added the two buttons to CSS file with -webkit-app-region: no-drag option set issue was resolved.

body {
   
    -webkit-app-region: drag
}

#btn1
{ -webkit-app-region: no-drag; }

#btn2
{ -webkit-app-region: no-drag; }