From 1d5227711d0092d55b2d6c197f989269e5e8e641 Mon Sep 17 00:00:00 2001 From: Max Koshovyi <75630299+maxuapro@users.noreply.github.com> Date: Mon, 21 Aug 2023 15:03:40 +0300 Subject: [PATCH] Update PinInput.jsx remove focus from clear please remove focus from clear --- src/PinInput.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PinInput.jsx b/src/PinInput.jsx index fa62ec1..2a3d35a 100644 --- a/src/PinInput.jsx +++ b/src/PinInput.jsx @@ -25,7 +25,6 @@ class PinInput extends Component { clear() { this.elements.forEach(e => e.clear()); this.values = this.values.map(() => undefined); - this.elements[0].focus(); } focus() {