Fix agent panel scroll while editing a past message (#30394)

This is similar to the `block_mouse_down` method added in #20649 (which
has a very similar motivation), but is more comprehensive in stopping
mouse events. Since I want to cherry-pick this to the releases, keeping
this change just to the agent panel. In a follow-up will replace
existing use of `block_mouse_down` to instead use this.

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-05-09 15:33:33 +00:00
committed by GitHub
parent d270f6b953
commit 863d7ccb6d
2 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -2235,7 +2235,7 @@ impl ActiveThread {
// Backdrop to dim out the whole thread below the editing user message
parent.relative().child(
div()
.occlude()
.stop_mouse_events_except_scroll()
.absolute()
.inset_0()
.size_full()