I am trying to use WebView in my desktop application(which is built by Election with Angular). When I load the window, I am able to render the WebView but after login into the website's WebView content, all the other remaining functionalities are not working.
Note: Website is developed using thymeleaf.
I tried like below:
<webview id="mainwebview" nodeintegration='on' src="https://tarc-uat.gfcp.io/"
style=" width:100%; height:calc(100vh - 11vw)" partition="persist:sitesession" disablewebsecurity="on" webpreferences="allowRunningInsecureContent" >
<div class="indicator"> </div>
</webview>
and Script :
onload = () => {
const webv = document.getElementById('mainwebview')
window.addEventListener('load', () => {
webv.addEventListener('dom-ready', () => {
});
})
}