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

Send box in speech listening mode don't auto scroll to far right #969

Closed
compulim opened this issue May 3, 2018 · 1 comment
Closed

Comments

@compulim
Copy link
Contributor

compulim commented May 3, 2018

Repro steps:

  1. Resize Web Chat window to be as narrow as possible without clipping
  2. Click on microphone button
  3. Say a very long sentence, like, "A quick brown fox jumped over the lazy dogs"

Expected: when the intermediate result is shown, Web Chat should keep the latest words on the screen by scrolling right
Actual: we only show the first few words, clipped everything else

Investigations:

  • We move caret with selectionStart = selectionEnd = value.length
    • This only works when the send box is focused
    • UX-wise, we stop listening when the send box is focused
  • When speech start, turn into a single-line
    • Change the parent to be scrollable, and auto-scroll to far right

I think a better solution is provide multi-line support.

@compulim compulim added the bug Indicates an unexpected problem or an unintended behavior. label May 3, 2018
@compulim compulim added enhancement and removed bug Indicates an unexpected problem or an unintended behavior. labels Jun 18, 2018
@corinagum
Copy link
Contributor

Related to #124

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

No branches or pull requests

2 participants