feat(seer agent): seer agent drawer responsiveness#113750
Conversation
…sponsiveness # Conflicts: # static/app/views/seerExplorer/components/drawer/useSeerExplorerDrawer.tsx
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e086f41. Configure here.
| }); | ||
| observer.observe(el); | ||
| return () => observer.disconnect(); | ||
| }, [resizeTextarea]); |
There was a problem hiding this comment.
ResizeObserver becomes stale after textarea conditional remount
Low Severity
The ResizeObserver effect captures textareaRef.current once on mount and never re-observes. When InputSection conditionally renders the file-approval or question action bar, the textarea DOM element is unmounted and the ref becomes null. When the textarea is later remounted, it's a new DOM element, but the observer is still watching the old (detached) element. After this, drawer resizing no longer triggers resizeTextarea for the new textarea.
Reviewed by Cursor Bugbot for commit e086f41. Configure here.
|
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |


Multiple fixes for things that resized incorrectly when making the drawer smaller. Specifically the suggested questions in the empty state, the input bar text box, and the toolbar at the top. Now they all resize as expected. I also set the default size of the drawer to 30% as discussed
Screen.Recording.2026-04-22.at.2.26.11.PM.mov