mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 22:18:51 +00:00
fixes scroll handling for paragraph widget
This commit is contained in:
parent
384ae324c9
commit
81cedbd6f2
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ impl<'a> Widget for Paragraph<'a> {
|
|||
continue;
|
||||
}
|
||||
|
||||
if y > text_area.height - 1 {
|
||||
if y > text_area.height + self.scroll - 1 {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue