From 9273f3320eba930970b3f6ec8f33b898a30074e6 Mon Sep 17 00:00:00 2001
From: Francisco Hodge <hello@franciscohodge.com>
Date: Wed, 13 Nov 2019 07:14:49 -0500
Subject: [PATCH] Reset initialized flag on destroy

---
 src/lib/components/Keyboard.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js
index 54960cd5..9bfc2ff7 100644
--- a/src/lib/components/Keyboard.js
+++ b/src/lib/components/Keyboard.js
@@ -805,6 +805,11 @@ class SimpleKeyboard {
      */
     window["SimpleKeyboardInstances"][this.currentInstanceName] = null;
     delete window["SimpleKeyboardInstances"][this.currentInstanceName];
+
+    /**
+     * Reset initialized flag
+     */
+    this.initialized = false;
   }
 
   /**