* fix: fix parameter inputField ref not yet mounted * fix: move optional chaining * fix: fix focus condition