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
|
const container = containerRef.current
|
||||||
if (!container || overflowing) return
|
if (!container || overflowing) return
|
||||||
|
|
||||||
setOverflowing(container.scrollHeight > window.innerHeight)
|
setOverflowing(container.scrollHeight > window.innerHeight * 2)
|
||||||
}, [containerRef.current])
|
}, [containerRef.current])
|
||||||
|
|
||||||
// all the reactStringReplace calls are to facilitate search highlighting
|
// all the reactStringReplace calls are to facilitate search highlighting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user