fossasia / susi.ai

SUSI.AI Web Client https://susi.ai
GNU Lesser General Public License v2.1
2.05k stars 851 forks source link

The chat gives two responses for a single query #3434

Open Dilshaad21 opened 4 years ago

Dilshaad21 commented 4 years ago

Actual Behaviour

The webchat responds with two replies for a single message when in MOBILE view.

Expected Behaviour

It must reply once for a single query.

Screenshots of the issue

Would you like to work on the issue?

Yes

adrijshikhar commented 4 years ago

@Dilshaad21 can i work on this?

Dilshaad21 commented 4 years ago

@adrijshikhar go ahead.

adrijshikhar commented 4 years ago

ok, how can i reproduce the bug?

Dilshaad21 commented 4 years ago
adrijshikhar commented 4 years ago

I did this but i did not get 2 responses. I will try again.

adrijshikhar commented 4 years ago

I am unable to reproduce the bug. I clicked on the following example skill cards and i got only one response Screenshot_20200215_223400

adrijshikhar commented 4 years ago

@Dilshaad21 I am unable to reproduce the bug.

adrijshikhar commented 4 years ago

@Dilshaad21 I reproduced the bug and tried to understand the flow. In mobile view, when i click any SkillExampleBubble, the last message from user does not get rendered, and there are multiple renders for one click on SkillExampleBubble and there is two messages from the user side. Would you please help me figure out why is this happening?

5e4cf0a2728f4379294661