Pedal-Intelligence / saypi-userscript

An independent voice interface for Inflection AI's conversational assistant, Pi
https://www.saypi.ai/
Other
15 stars 3 forks source link

Unable to write new prompts after using voice conversation #72

Closed rosscado closed 4 months ago

rosscado commented 4 months ago

After using the voice conversation feature (with the green animation), I sometimes return to the conversation page and find myself unable to write a new prompt. The prompt bar remains white, and clicking on it yields no response – I am unable to type. Refreshing the page (http://pi.ai) is required to resolve the issue.

Steps to Reproduce: Open http://pi.ai in your browser. Enter immersive mode. Engage in a voice conversation with Pi (look for the green animation). End the voice conversation and exit to desktop mode. Attempt to click in the prompt bar and type a new prompt.

Expected Behavior: The prompt bar should become active and allow the user to begin typing a new query or command.

Actual Behavior: The prompt bar stays white and does not respond to clicks or keyboard input.

Additional Information: Frequency: This occurs intermittently. Browser(s): Kiwi Operating system: Android

Screenshots:

unavailable prompt field (height is zero)
rosscado commented 4 months ago

This is caused by the textarea input's height being set to zero, making it essentially invisible within its containing div.

The height is controlled by Say, Pi during a conversation, allowing it to grow vertically as the transcribed text wraps to new lines. Perhaps when the text is cleared during an immersive conversation, the height is set to zero?