Skip to content

Commit

Permalink
static/frontend: add Escape key functionality to close tooltip
Browse files Browse the repository at this point in the history
frontend: adds escape key action to close tooltip

Updates ToolTipController to have Escape key functionality
to close tooltip. Tested successfully.

Screencast: https://screencast.googleplex.com/cast/NjA0MjM5NjE3NjQxNjc2OHwwYmI3ZGMyZC1jZQ

Fixes internal bug where Escape key needs to close tooltips/dialogs b/283533035

Change-Id: I8abe107080b262b989c529ef79c0bb2fcc7a6d32
GitHub-Last-Rev: 5c4b386
GitHub-Pull-Request: #104
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/633804
TryBot-Bypass: Jonathan Amsterdam <[email protected]>
Reviewed-by: Nooras Saba‎ <[email protected]>
Run-TryBot: Jonathan Amsterdam <[email protected]>
Reviewed-by: Jonathan Amsterdam <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
essjay05 authored and jba committed Dec 10, 2024
1 parent 73fd41e commit d5afb0b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Loading

0 comments on commit d5afb0b

Please sign in to comment.