summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r--desktop/textinput.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index 4a0aef467..f05f57fe1 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -2098,6 +2098,9 @@ void textarea_reflow(struct browser_window *bw, struct box *textarea,
textarea->width = width;
textarea->height = height;
layout_calculate_descendant_bboxes(textarea);
+ box_handle_scrollbars(bw, textarea,
+ box_hscrollbar_present(textarea),
+ box_vscrollbar_present(textarea));
}