Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Physical Keyboard: jQuery is not defined #622

@spiritedsnowcat

Description

@spiritedsnowcat

Problem
When typing using the physical keyboard, errors are thrown with each key stating "Uncaught ReferenceError: jQuery is not defined". Otherwise, the virtual keyboard works as intended. Input from the physical keyboard is even accepted, it just floods the console with errors.

C:\Development\TestProject\node_modules\virtual-keyboard\dist\js\jquery.keyboard.js:863 Uncaught ReferenceError: jQuery is not defined
    at HTMLInputElement.<anonymous> (C:\Development\TestProject\node_modules\virtual-keyboard\dist\js\jquery.keyboard.js:863)
    at HTMLInputElement.dispatch (C:\Development\TestProject\node_modules\jquery\dist\jquery.js:5206)
    at HTMLInputElement.elemData.handle (C:\Development\TestProject\node_modules\jquery\dist\jquery.js:5014)

Versions
node: v6.11.4
react: 16.0.0
jQuery: 3.2.1
jQuery UI: 1.12.1
virtual-keyboard: 1.25.28
yarn: v1.2.1

Setup
I'm using the React version as recommended from the Mottie homepage. It doesn't appear to error in that package though. It errors in the virtual-keyboard package (which is what has me confused). Any suggestions? Using it as shown in the example exactly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions