gitlab-org--gitlab-foss/changelogs/unreleased/copy-button-in-modals.yml
Andrew Fontaine 8bea9eeddf Add a New Copy Button That Works in Modals
This copy button manages a local instance of the Clipboard plugin
specific to it, which means it is created/destroyed on the
creation/destruction of the component. This allows it to work well in
gitlab-ui modals, as the event listeners are bound on creation of the
button.

It also allows for bindings to the `container` option of the Clipboard
plugin, which allows it to work within the focus trap set by bootstrap's
modals.
2019-06-06 09:36:17 +00:00

5 lines
95 B
YAML

---
title: Add a New Copy Button That Works in Modals
merge_request: 28676
author:
type: added