diff --git a/Ladybird/AppKit/UI/LadybirdWebView.mm b/Ladybird/AppKit/UI/LadybirdWebView.mm index 14d44ff42f0..ce49a5ce4c9 100644 --- a/Ladybird/AppKit/UI/LadybirdWebView.mm +++ b/Ladybird/AppKit/UI/LadybirdWebView.mm @@ -907,6 +907,12 @@ static void copy_text_to_clipboard(StringView text) [super drawRect:rect]; } +- (void)viewDidMoveToWindow +{ + [super viewDidMoveToWindow]; + [self handleResize]; +} + - (void)viewDidEndLiveResize { [super viewDidEndLiveResize];