Close and apply any changes for Dates widget when using esc
Summary
Previously, we had ensured the Dates widget was able to be closed (and any changes applied) using the esc key, similar in the legacy widget (#442819 (closed)). At some point, there must have been a regression which has caused this to no longer function.
In addition, we currently have a bug where trying to use the esc key on the Dates widget closes the contextual view if you have it open. It would be ideal to include a fix for that while working on this effort.
Proposal
- Update Dates widget so user can use
esckey to close the widget and cancel any selections they have made. - Address the bug when the contextual view is open to where using esc to close the Dates widget maintains the contextual view open while closing and applying changes to Dates widget.
Edited by 🤖 GitLab Bot 🤖
