Skip to content

Fixes clipboard_button copy tooltip overlapping

Nick Kipling requested to merge 216001-fix-copy-button-hover into master

What does this MR do?

Fixes the bug as reported in #216001 (closed). Specifically it:

  1. Adds v-gl-tooltip.hover.blur to the gl-deprecated-button inside the clipboard_button.vue component. This ensures the tooltip here disappears after the copy action is invoked.
  2. Triggers displaying of the Copied tooltip after the trigger is blurred. This ensures the Copied tooltip shows first time.

Screenshots

Package button Merge request button Project commit button
package merge commit

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Nick Kipling

Merge request reports