export const autofocus = () => {
    const id = 'autokeyboardFake'
    let fake = document.getElementById(id)

    if (!fake) {
        fake = document.createElement('input')

        fake.id = id
        fake.style.opacity = '0'
        fake.style.height = '0'
        fake.style.position = 'absolute'

        document.body.prepend(fake)
    }

    fake.focus()
    fake.click()
}