Closed alboss closed 4 years ago
The escape key on the keyboard does not close the chatbot window
Steps to reproduce the behavior:
Probably something like this:
window.addEventListener('keydown', function (event) { if (event.key === 'Escape') { chatFrame.style.visibility = 'hidden'; } })
@alboss I published the change and added it to my repo.
Fixed; thank you!
Issue Summary
The escape key on the keyboard does not close the chatbot window
Steps to reproduce
Steps to reproduce the behavior:
Behavior
Expected behavior
Actual behavior
Device Information:
Code
Suggested Code
Probably something like this:
Specifications