Visitar URL original
USWDS - Tooltip: Fix handling of children icons by aduth · Pull Request #5263 · uswds/uswds · GitHub
Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore point-events styling for trigger svg
Avoid flickering effect when mousing over icon
  • Loading branch information
aduth committed Feb 7, 2024
commit 3555e595a993ee5518b28738be0a7a83a8552efd
4 changes: 4 additions & 0 deletions packages/usa-tooltip/src/styles/_usa-tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ $triangle-size: 5px;

.usa-tooltip__trigger {
cursor: pointer;

> svg {
pointer-events: none;
}
}

.usa-tooltip__body,
Expand Down