fix(client): fix rendering cause range bug (#2785)

This commit is contained in:
Junyi 2023-10-10 13:46:17 +08:00 committed by GitHub
parent d7664c9a41
commit b2883ff55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,7 @@ export function TextArea(props) {
}
const nextRange = new Range();
if (changed) {
setChanged(false);
// setChanged(false);
if (range.join() === '-1,0,-1,0') {
return;
}