Remove onScroll event listener from textarea
This commit is contained in:
@@ -1478,7 +1478,6 @@ export default function App() {
|
|||||||
className={`editor__textarea${markdownPreview ? " editor__textarea--hidden" : ""}`}
|
className={`editor__textarea${markdownPreview ? " editor__textarea--hidden" : ""}`}
|
||||||
value={body}
|
value={body}
|
||||||
onChange={(event) => setBody(event.target.value)}
|
onChange={(event) => setBody(event.target.value)}
|
||||||
onScroll={handleTextareaScroll}
|
|
||||||
placeholder="Write your text here…"
|
placeholder="Write your text here…"
|
||||||
readOnly={isViewingHistory || markdownPreview}
|
readOnly={isViewingHistory || markdownPreview}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user