click twice before an action button is triggered

when on botpress studio, with one click, buttons for choices get clicked easily and everything works nicely, but when on the chat on web or on the chat tab next to Analytics, i have to click twice before any action button get triggered. what is the reason?

Hello Caleb,

Yes, it is confirmed to be an issue. It is reported :slight_smile:

Thanks :slight_smile:

1 Like

Hi @bassam.tantawi
are there any news about this issue?
we still have it but it is blocking for our deployment to production.

Hi @projects.iwaju ,

I understand how important it is for you. The team is working on it and should release it with the next release

Hello @bassam.tantawi , ok i get it. Do you mean the next preview release or a release very far from now. I saw there was on a release on 17th, april.

Hello @projects.iwaju ,

It should be in the next preview release directly.

Ok i get it. As the dynamic variable issue in cards is resolved, i am expecting this one too. Keep the great job

Yes! Thanks for your trust :slight_smile:

hello, i just find the new release from today, the double click problem is not solved yet

here is a log from my bot in the logs tab

2023-04-21T20:31:31.509Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Sending Message. Type: text. Text: Hello!
2023-04-21T20:31:31.527Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [Workflow] Starting from Main flow
2023-04-21T20:31:31.529Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Transition from (flow:Main) [node:Entry] to [node:DemarrageGeneral]
2023-04-21T20:31:31.547Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Sending Message. Type: text. Text: Bonjour, je suis Yèmi, votre assistante virtuelle. Je peux vous aider à créer des documents.
2023-04-21T20:31:31.920Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG DM [Capture] All properties of the extracted object are null, which means the user probably didn’t answer the question. { choice: null }
2023-04-21T20:31:31.921Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG DM [Capture] Start information capture
2023-04-21T20:31:31.926Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Sending Message. Type: choice. Text: Quel document souhaitez-vous ?
2023-04-21T20:31:31.926Z 6e0c97e1-e46c-445f-a0a9-55e9f60d57a3 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Waiting for user input
2023-04-21T20:31:47.648Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG DM [Capture] User clicked on a button, so we are skipping the cognitive extraction
2023-04-21T20:31:47.649Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG DM [Capture] Field validation successful! Extracted: “Compte rendu”. Input: Compte rendu
2023-04-21T20:31:47.649Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG DM [Capture] Prompt success
2023-04-21T20:31:47.666Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Transition from (flow:Main) [node:DemarrageGeneral] to [node:CompteRendu]
2023-04-21T20:31:47.667Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Entering workflow (flow:MainCompteRendu) [node:Entry] from (flow:Main) [node:CompteRendu]
2023-04-21T20:31:47.668Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Transition from (flow:MainCompteRendu) [node:Entry] to [node:InfosGeneral]
2023-04-21T20:31:47.669Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG DM Execute code “inline-ins-9da2177307.js”
Actions { nom_entreprise: ‘’,
date_reunion: ‘’,
heure_reunion: ‘’,
les_presents: ,
les_absents: ,
le_redacteur: ‘’,
sujets_abordes: ,
infos: ,
prochaine_reunion: ‘’,
email: ‘’ }
2023-04-21T20:31:47.687Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG DM [Capture] Start information capture
2023-04-21T20:31:47.688Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Sending Message. Type: choice. Text: Quel est le nom de votre entreprise?
2023-04-21T20:31:47.727Z f58905e2-4057-4c7b-8733-03c4dbd9bb94 DEBUG Dialog [3a442b2f-fec8-45af-988e-1295d69e2e57] Waiting for user input

It is a step where the user ask this question: “Quel type de document souhaiteriez-vous générer aujourd’hui ?”, for this question as for the others related to choice, the first click does not trigger an answer, the second one does

i have sent logs from the editor, and now from the deployed chatbot. They can easily reproduce this. In fact everything is working veryweel on the studio, but when deployed, there is problem

ssageList.tsx:26 Uncaught TypeError: Cannot read properties of undefined (reading ‘focus’)
at Array. (MessageList.tsx:26:54)
at Jt (mobx.module.js:3060:42)
at t.setNewValue (mobx.module.js:1096:6)
at t.set (mobx.module.js:1072:10)
at $U.setFocus (view.ts:134:22)
at $e (mobx.module.js:956:5)
at $U.r (mobx.module.js:935:9)
at Xm.handleButtonClicked [as onButtonClick] (single-choice.tsx:23:36)
at handleButtonClick (button.tsx:31:29)
at Object.tt (react-dom.production.min.js:52:317)
(

is there any one else having this issue on web channel ?