Giter Club home page Giter Club logo

electron-3-webview-focus-bug's Introduction

Electron Webview Focus Issue.

Calling .focus() on a webview does not properly transfer focus in Electron 3.

Reproduction

Start this demo with electron version 2.0.5 to see how things are supposed to work.

npm install
npm start

Put you cursor in the text input in child1.html. Type something and press enter. The text is transfered to child2.html with the cursor focused on child2.html's text input. This is the correct and exprected behavior.

Change the electron version in package.json to 3.0.9 (or check out the branch "bug").

git checkout bug
npm install
npm start

Do the same thing and notice that the focus is not transfered to the text input in child2.html.

electron-3-webview-focus-bug's People

Contributors

zeke avatar jlord avatar kevinsawicki avatar sebastianschmidt avatar tcyrus avatar codebytere avatar bratsos avatar ccorcos avatar izuzak avatar auchenberg avatar louis993546 avatar icodeforbananas avatar haacked avatar sahildua2305 avatar steevedroz avatar zanesterling avatar bokuweb avatar fscherwi avatar icoxfog417 avatar laiso avatar pratu16x7 avatar phanect avatar ionicabizau avatar thompsonemerson avatar posva avatar maddhruv avatar clemens-tolboom avatar ckerr avatar bhaveshgohel avatar galeksandrp avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.