Skip to content

Commit 55fb731

Browse files
committed
release on pop
1 parent 2416466 commit 55fb731

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textual/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,7 @@ def pop_screen(self) -> AwaitComplete:
28962896
"Can't pop screen; there must be at least one screen on the stack"
28972897
)
28982898

2899+
self.capture_mouse(None)
28992900
previous_screen = screen_stack.pop()
29002901
previous_screen._pop_result_callback()
29012902
self.screen.post_message(events.ScreenResume())

0 commit comments

Comments
 (0)