Comment Field - Click Anywhere in Comment Box to Enter Comment
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
**Describe the bug in current situation**
Currently, in order to enter a comment a user must click on the first line in the comment field. Clicking on the comment field, in an area that is not the first line, does not bring the user to the first line to enter a comment.
A user should be able to click anywhere in the comment field, and then be brought to the first line to begin entering their comment in the first line.
**Link bug to the User Story**
#584
**Impact of this bug**
Low
**Chance of Occurring (high/medium/low/very low)**
High
**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to any request
2. Click on the 'Comments' tab
3. Click "Add Comment"
4. In the comment field, click anywhere that is not the first line
You will not be able to enter a comment until your click the first line of the comment field
**Expected behaviour**
GIVEN a user is on the 'Comments' tab
AND has selected to "Add Comment"
WHEN the user clicks anywhere in the comment field (beyond just the first line)
THEN the user will be brought to the first line and able to enter their comment
**Screenshots/ Visual Reference/ Source**

Contributor guide
Research direction
Start by reproducing the issue through the Comments tab and Add Comment flow, then trace the comment field entry point used by that screen. Done means clicking anywhere in the comment field places the cursor on the first line and allows typing, with the existing comment flow still working.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100