PurpleKingdomGames/virtual-gloomhaven-board

Room code text entry clears randomly

Closed this issue · 1 comments

Describe the bug
Entering a room code sometimes results in an empty text box

To Reproduce
Unkown. At the moment it's been reported twice in Chrome, with no exact reproducable instructions

Browser : Chrome (maybe also mobile)

This might be down to an input handler vs change handler issue - the 2 events are not the same, and I think this might be interpreted differently on different browsers. Might have to switch to a change event to be safe.

Nothing to do with the input check - looks like a click event is being fired on the modal, closing it. Will have to ensure that no clicks propogate down from the modal to the background