"Phantom" element bug in 1.24

Hi. I have the following app:


When I put some text in the field and click “send” I am getting phantom element (double send):

After this chat generates response and works as normal:

I found this issue for streamlit 1.24.0. 1.22.0 version works without “Phantom” element

Corresponding code can be found here:
Robby-chatbot/src/pages/1_📄Robby-Chat.py at main · yvann-hub/Robby-chatbot · GitHub

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.