Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Js Alert window Autofocus to menubar #1572

Open
5 tasks done
prequiet-L opened this issue Sep 11, 2023 · 0 comments
Open
5 tasks done

Js Alert window Autofocus to menubar #1572

prequiet-L opened this issue Sep 11, 2023 · 0 comments
Labels

Comments

@prequiet-L
Copy link

Homework

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

  1. Js alert function is ther in a website "alert('Test');"
    1. After clicking on ok button the textboxes in the webview is not accessible.
  2. found that after click on ok in the alert it is bring the control to menu bar.
  3. tried hidding menubar also tried disabling window but still menubar is taking control.
  4. after pressing alt key twise textboxes are active and working fine.
  5. same code working good in other browser.
    image
    image

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

@prequiet-L prequiet-L added the bug label Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant