Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23882

Code from both sides of the diff are selected when trying to copy/paste code snippets

XMLWordPrintable

      Issue Summary

      • When trying to copy/paste a code snippet from a diff in the UI, once a user selects the bit of code they want to copy, the other side of the diff is copied as well.

      Steps to Reproduce

      1. Open a Pull Request
      2. Toggle the option to "View side-by-side"
      3. Select a code snippet you would like to copy/paste

      Expected Results

      • Only one of the sides should be considered for copying code

      Actual Results

      • Code is selected from both sides, making it impossible to copy just the side that the user wants:

      Workaround

      • Open the file in "Source" and select the branch/version which contains the code you want to copy

              Unassigned Unassigned
              0298b2749e0b Mateus T
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: