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

CTRL-Z undo in text box is not correct #4865

Closed
compulim opened this issue Sep 19, 2023 · 0 comments · Fixed by #4861
Closed

CTRL-Z undo in text box is not correct #4865

compulim opened this issue Sep 19, 2023 · 0 comments · Fixed by #4861
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@compulim
Copy link
Contributor

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

Others or unrelated

Which browsers and platforms do the issue happened?

Others or unrelated

Which area does this issue affect?

Send box

What is the public URL for the website?

No response

Please describe the bug

When pressing CTRL + Z to undo text input in send box, sometimes, it is not undoing correctly.

Do you see any errors in console log?

No response

How to reproduce the issue?

  1. Type "abc123"
  2. Press LEFT 3 times so the cursor is between "abc" and "123"
  3. Press DELETE
  4. Press BACKSPACE
  5. Press CTRL + Z to undo

What do you expect?

"ab23" should be undo to "abc23".

What actually happened?

"ab23" is being undoed to "abc123".

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

No response

Additional context

No response

@compulim compulim added bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. Bot Services Required for internal Azure reporting. Do not delete. Do not change color. labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant