Web: Components: fix handle
This commit is contained in:
parent
a477947042
commit
81d8d8fc09
@ -40,6 +40,7 @@ const CodeInput = (props) => {
|
||||
const target = e.target;
|
||||
|
||||
if (key === "Backspace") {
|
||||
handleChange();
|
||||
if (target.value === "" && target.previousElementSibling !== null) {
|
||||
if (target.previousElementSibling !== null) {
|
||||
if (e.target.previousElementSibling.nodeName === "HR") {
|
||||
|
Loading…
Reference in New Issue
Block a user