Browse Source

neon: Fix cursor being reset when note is updated

pull/117/head
jld3103 2 years ago
parent
commit
7a967720b9
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 5
      packages/neon/lib/src/apps/notes/pages/note.dart

5
packages/neon/lib/src/apps/notes/pages/note.dart

@ -54,7 +54,10 @@ class _NotesNotePageState extends State<NotesNotePage> {
});
widget.bloc.content.listen((final content) {
_contentController.text = content;
final selection = _contentController.selection;
_contentController
..text = content
..selection = selection;
});
widget.bloc.title.listen((final title) {

Loading…
Cancel
Save