react-unity-webgl
Advanced tools
Comparing version 8.0.3 to 8.0.4
@@ -146,2 +146,3 @@ "use strict"; | ||
className: this.props.className || "", | ||
tabIndex: this.props.tabIndex, | ||
ref: function (r) { return (_this.htmlCanvasElementReference = r); }, | ||
@@ -148,0 +149,0 @@ style: { |
@@ -23,3 +23,11 @@ import UnityContext from "../models/unityContext"; | ||
height?: string | number; | ||
/** | ||
* The tabIndex of the element. Mitigates the issue that once WebGL is loaded, | ||
* the keyboard is captured and HTML inputs are not reacting to keyboard | ||
* strokes anymore. | ||
* @type {number} | ||
* @see https://stackoverflow.com/a/60854680 | ||
*/ | ||
tabIndex?: number; | ||
} | ||
//# sourceMappingURL=unityProps.d.ts.map |
{ | ||
"name": "react-unity-webgl", | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.", | ||
@@ -5,0 +5,0 @@ "main": "./distribution/exports.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
608
50503
41