the-carlisle-group / Abacus

HTML, CSS, and Markdown for Dyalog APL
MIT License
12 stars 0 forks source link

Target Not Found on Rapid KeyPress event #17

Open PaulMansour opened 6 months ago

PaulMansour commented 6 months ago

When a keypress event deletes an element, a rapid subsequent keypress may fire on the element before it is deleted, rather than on the replacement element which really should handle it. The OnWebsocketRecieve handler thus would get an "id not found". For now we are simply ignoring this keypress event, which may be an OK solution. For automated testing though, this probably will not work. We may need a delay or a new solution of some sort.