microsoft / microsoft/BotFramework-WebChat

Emoj icon is displayed/replaced even in the middle of a word

Open
#4,618 1 comment 0 reactions 1 assignee View on GitHub

@compulim is already working on this.

Since Jan 18, 2023.

Bot Services bug customer-reported
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

Unrelated

Which distribution are you using Web Chat from?

NPM

Which hosting environment does this issue primarily affect?

Dynamics 365 Omnichannel

Which browsers and platforms do the issue happened?

No response

Which area does this issue affect?

Send box

What is the public URL for the website?

No response

Please describe the bug

When user enters 9:00 in the sendBox, the text is converted to the emoj.

image

The emoj converting should happen only if:

  1. the ':0' is the starting of a sentence.
  2. the ':0" is followed by an empty space if it is in the middle of a sentence
Do you see any errors in console log?

No response

How to reproduce the issue?
  1. Navigate to ...
  2. Start a chat
  3. Type "9:00" in the send box

image

What do you expect?

The emoj converting should happen only if:

  1. the ':0' is the starting of a sentence.
  2. the ':0" is followed by an empty space if it is in the middle of a sentence
What actually happened?

the ':0' is converted to emoj without following by the space.

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

image

Adaptive Card JSON

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.