Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19404

The clickable area for "Delete <source-branch-name> after merging" on the merge pull request dialog is too big.

XMLWordPrintable

      Issue Summary

      The clickable area for "Delete <source-branch-name> after merging" on the merge pull request dialog is too big. Users may accidentally tick the checkbox, which could result in the deletion of the branch.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      • Create a fresh repository in Bitbucket with a master branch and push some commits to the master branch.
      • Create another branch(say branch1) and push some changes to this branch.
      • Open a PR from branch1 to master.
      • Navigate to the PR and click on the merge button. You can check or uncheck the checkbox in the merge pull request dialogue by clicking anywhere in the white area that appears in the same line as the checkbox.

      Expected Results

      Only the checkbox should have the clickable portion, not the label's complete frame.

      Actual Results

      The checkbox can be checked or unchecked by clicking on it or elsewhere in the white area. The label's frame is too big and can be seen in the attached screenshot.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              5b83d565b5b1 Josh Wang
              83b3279fad28 Aman Shrivastava
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: