(e: React.UIEvent<HTMLTextAreaElement>)
| 59 | const overlayRef = React.useRef<HTMLDivElement>(null); |
| 60 | |
| 61 | const handleScroll = (e: React.UIEvent<HTMLTextAreaElement>) => { |
| 62 | if (overlayRef.current) { |
| 63 | overlayRef.current.scrollTop = e.currentTarget.scrollTop; |
| 64 | overlayRef.current.scrollLeft = e.currentTarget.scrollLeft; |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | return ( |
| 69 | <div className={`relative ${className}`}> |
nothing calls this directly
no outgoing calls
no test coverage detected