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

added changes to expand textarea with text #1144

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

riyasharma-kline
Copy link

@riyasharma-kline riyasharma-kline commented Oct 23, 2024

Motivation and Context
The text box shows only 2-3 lines of data. It should expand to show at least 10-12 lines. Now the textbox gets expanded to show at least 10-12 lines and than a scroll appears.

Description
Before-
image

Now-
image

Here is a demo video-
https://github.com/microsoft/sample-app-aoai-chatGPT/assets/150430068/69e56ff4-94a2-47fa-82fa-903588d368b4

Contribution Checklist

  • - I have built and tested the code locally and in a deployed app
  • - For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • - This is a change for all users of this app. No code or asset is specific to my use case or my organization.
  • - I didn't break any existing functionality 😄

Copy link

@lawiedc lawiedc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied changes and worked as expected. Definitely an improvement when handling larger chunks of source data (e.g. when asking for a translation or summary)

@riyasharma-kline
Copy link
Author

Hi @sarah-widder, hope you are doing great. Can you please review these changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants