Js Alert window Autofocus to menubar
Author: prequiet-LCreated Sep 11, 2023Updated Sep 11, 2023
Labelsbug
Homework
- I took the time to write a good, descriptive issue title
- I read
nativefier --helpand API.md. - I checked CATALOG.md for community suggestions & workarounds.
- I searched existing issues, open & closed. Yes, my bug is new.
- I'm running the latest version.
Nativefier command
nativefier --name 'Trident' 'pamban.in' --clear-cache --file-download-options '{"saveAs": true}' --disable-dev-tools --icon "logo.ico" --hide-window-frame
Steps to reproduce
- Js alert function is ther in a website "alert('Test');"
- After clicking on ok button the textboxes in the webview is not accessible.
- found that after click on ok in the alert it is bring the control to menu bar.
- tried hidding menubar also tried disabling window but still menubar is taking control.
- after pressing alt key twise textboxes are active and working fine.
- same code working good in other browser.
Expected behavior
after clicking on ok in alert it should bring control to webview automatically.
Actual behavior
it is bringing autofocus to nativefier menubar
Debug info
No response
Nativefier version
52.0.0
Node.js version
18.7.1
npm version
9.6.7
OS
windows 10 , windows 11, windows 8.1
Source: nativefier/nativefier