Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-virtual-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-virtual-keyboard - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "electron-virtual-keyboard",
"version": "1.0.5",
"version": "1.0.6",
"description": "An electron based virtual keyboard. Uses electron's sendInputEvent api to implement a simple customizable soft keyboard.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -298,9 +298,17 @@ (function (factory) {

.on("mousedown touchstart", function(e) {
base._onMouseDown = true;
base.simKeyDown(e.target);
if (!base._onMouseDown && $(e.target).data('kb-key') ) {
base._onMouseDown = true;
base.simKeyDown(e.target);
e.stopImmediatePropagation();
return false;
}
});
$('body')
.on("mouseup touchend touchcancel", function(e) {
base._onMouseDown = false;
base.simKeyUp(e.target);
.on("mouseup touchend", function(e) {
if ( base._onMouseDown) {
console.log("up: ", e);
base._onMouseDown = false;
base.simKeyUp(e.target);
}
});

@@ -307,0 +315,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc