We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8506c19 commit c787de2Copy full SHA for c787de2
1 file changed
client/django-formset/RichtextArea.ts
@@ -1303,7 +1303,7 @@ class RichtextArea {
1303
break;
1304
case `${this.baseSelector}.focused`:
1305
this.textAreaElement.style.transition = 'none';
1306
- this.textAreaElement.focus();
+ this.textAreaElement.focus({preventScroll: true});
1307
extraStyles = StyleHelpers.extractStyles(this.textAreaElement, [
1308
'border', 'box-shadow', 'outline']);
1309
this.textAreaElement.blur();
0 commit comments