Remove onScroll event listener from textarea

This commit is contained in:
2026-02-01 03:49:52 +01:00
parent 15a1b22c91
commit 18ae1c3d3b

View File

@@ -1478,7 +1478,6 @@ export default function App() {
className={`editor__textarea${markdownPreview ? " editor__textarea--hidden" : ""}`}
value={body}
onChange={(event) => setBody(event.target.value)}
onScroll={handleTextareaScroll}
placeholder="Write your text here…"
readOnly={isViewingHistory || markdownPreview}
/>