I am creating a piece that uploads a photo with a message. After the user either chooses a gallery image or takes a photo, a textfield is supposed to focus so the user can enter the message they'd like to send. Unfortunately, the textfield focuses and then blurs itself after a couple of seconds. I've seen solutions to add an event listener to the 'open' event of the window but I don't need this to be focused when the window opens. Does anybody have a solution to this? Going on hour 5 of trying different solutions.
↧