widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.91k stars 142 forks source link

Cannot paste text into solara.v.Textarea component when part of solara.AppLayout/solara.Card in expanded state #671

Open satyaloka93 opened 5 months ago

satyaloka93 commented 5 months ago

Essentially I can't paste text into solara.v.Textarea component when part of solara.AppLayout/solara.Card in expanded state (clicking expand icon on title bar). This is within a Jupyter notebook, if that matters. Pasting into the text area is fine before the UI is maximized. I can still type in that textarea, just no pasting. I also have another notebook with the ChatInput component with the example chatbot.py code, same issue there with AppLayout/Card and pasting when maximized. Hope to get this working as I really like the look and feel of Solara.

iisakkirotko commented 5 months ago

Hey @satyaloka93! Thanks for the reporting the issue. I'll take a look at this today.

iisakkirotko commented 5 months ago

Hey @satyaloka93! Quick update:

The issue was ultimately in jupyter's nbclassic. I opened a PR that should fix this issue there. You can follow the discussion there to know when the fix will be released. In the meantime you can use Jupyter lab, since it does not have this issue (unless your use case prevents that, of course)

satyaloka93 commented 5 months ago

Thanks for looking at this issue,definitely will follow for a fix!