view more viewheight
This commit is contained in:
parent
e8e22ad7d4
commit
82a1b450f5
|
@ -40,7 +40,7 @@ export default memo(function Text ({ nofollow, imgproxyUrls, children, tab, ...o
|
|||
const container = containerRef.current
|
||||
if (!container || overflowing) return
|
||||
|
||||
setOverflowing(container.scrollHeight > window.innerHeight)
|
||||
setOverflowing(container.scrollHeight > window.innerHeight * 2)
|
||||
}, [containerRef.current])
|
||||
|
||||
// all the reactStringReplace calls are to facilitate search highlighting
|
||||
|
|
Loading…
Reference in New Issue