Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion note: size of text input field #8367

Closed
aparnacoronasafe opened this issue Aug 20, 2024 · 0 comments · Fixed by #8396
Closed

Discussion note: size of text input field #8367

aparnacoronasafe opened this issue Aug 20, 2024 · 0 comments · Fixed by #8396
Assignees

Comments

@aparnacoronasafe
Copy link
Member

Describe the bug
The discussion note feature on patient dashboard has a field at the bottom to input text. This is where the user will be typing in relevant content to post of discussion notes.

When I type in the content, the text input field only shows a maximum of two lines of text due to limited height of the field. As I type in larger text content, only the last two lines are visible to me at any point.
Screenshot 2024-08-20 at 4 47 47 PM

However, if I copy paste large text content into the text field, the text field height is increased to allow me to view the content better
Screenshot 2024-08-20 at 4 22 10 PM

This dynamic adjustment of height must happen even when a user types in content.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any patient dashboard (https://care.coronasafe.in/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/edfe0bd6-0f50-4a4c-8cd0-2d4ad0e9cea1)
  2. Click on 'Discussion Notes'
  3. type out a long line of text.
  4. You will see that the height of the text field does not increase.

Expected behavior
Height of text input field in discussion note must increase as the size of the content therein increases. the height may be capped at 7 lines as seen in the second screenshot above.

@github-project-automation github-project-automation bot moved this to Triage in Care Aug 20, 2024
@rithviknishad rithviknishad added this to the Discussion Notes milestone Aug 20, 2024
@rithviknishad rithviknishad moved this from Triage to Review required in Care Aug 22, 2024
@github-project-automation github-project-automation bot moved this from Review required to Done in Care Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants