fix(web): keep the composer open while selecting timeline text#9499

merged1
fix/composer-paste-expands
fix/composer-hold-for-selection
openedSep 3, 2026byJJulius Marminge
View on GitHubTwo-way sync enabledPR last imported 3d ago
1 unresolved thread ยท Jump to file
Selected thread: apps/web/src/components/chat/ChatComposer.tsx:4332 โ€” ### Focus-in bypasses selection hold **Medium Severity** <!-- DESCRIPTION START --> The new timeline-selection hold only gates `scheduleComposerCollapseCheck`. Desktop `focusin` still calls `setIsComposerFocused(false)` as soon as focus leaves the composer. Tabbing to the portaled Cite control therefore rests the composer, reflows the timeline, and can dismiss the toolbar this change is meant to keep usable. <!-- DESCRIPTION END --> <!-- BUGBOT_BUG_ID: e3afc7b3-b746-4294-8c49-9acfd72433e0 --> <!-- LOCATIONS START apps/web/src/components/chat/ChatComposer.tsx#L4341-L4348 apps/web/src/components/chat/ChatComposer.tsx#L4296-L4303 LOCATIONS END --> <details> <summary>Additional Locations (1)</summary> - [`apps/web/src/components/chat/ChatComposer.tsx#L4296-L4303`](https://github.com/pingdotgg/t3code/blob/4557997a01c6af375598d8b97c293045a1f8b5fb/apps/web/src/components/chat/ChatComposer.tsx#L4296-L4303) </details> <div><a href="https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM0MjI3YzFkLWY1MTktNDZkMC05MzcwLTg0ODQ0MzliNjYxYyIsImVuY3J5cHRpb25LZXkiOiIwS19XclZxUlhkbUdNSlM3Tng3eTVYSl9hbXQzM0d2M3FrTE1KbmhGUEN3IiwiYnJhbmNoIjoiZml4L2NvbXBvc2VyLWhvbGQtZm9yLXNlbGVjdGlvbiIsInJlcG9Pd25lciI6InBpbmdkb3RnZyIsInJlcG9OYW1lIjoidDNjb2RlIiwicHJvdmlkZXIiOiJnaXRodWIifX0" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM0MjI3YzFkLWY1MTktNDZkMC05MzcwLTg0ODQ0MzliNjYxYyIsImVuY3J5cHRpb25LZXkiOiIwS19XclZxUlhkbUdNSlM3Tng3eTVYSl9hbXQzM0d2M3FrTE1KbmhGUEN3IiwiYnJhbmNoIjoiZml4L2NvbXBvc2VyLWhvbGQtZm9yLXNlbGVjdGlvbiIsInJlcG9Pd25lciI6InBpbmdkb3RnZyIsInJlcG9OYW1lIjoidDNjb2RlIiwicHJOdW1iZXIiOjk0OTksImNvbW1pdFNoYSI6IjQ1NTc5OTdhMDFjNmFmMzc1NTk4ZDhiOTdjMjkzMDQ1YTFmOGI1ZmIiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-web-light.png"><img alt="Fix in Web" width="99" height="28" src="https://cursor.com/assets/images/fix-in-web-dark.png"></picture></a></div> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 4557997a01c6af375598d8b97c293045a1f8b5fb. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
0 / 3 viewed3 files changedLine totals unavailable