You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
## [3.4.0] - 2023.01.05
2
+
3
+
- Remove `DefaultMongolTextEditingShortcuts` from `MongolEditableTextState` (#35) (@Satsrag)
4
+
- To switch the behavior of left/right and up/down keys in `MongolEditableText`, developers now need to add `MongolTextEditingShortcuts` at the top of the widget tree. See [#33](https://github.com/suragch/mongol/issues/33) for discussion.
5
+
1
6
## [3.3.1] - 2022.12.31
2
7
3
8
- Fix: crash when MongolTextField contain a line end with ' \n' (#34) (@Satsrag)
@@ -109,9 +111,8 @@ In your `main.dart` file, set the `fontFamily` for the app theme.
109
111
110
112
```dart
111
113
MaterialApp(
112
-
title: 'My App',
113
114
theme: ThemeData(fontFamily: 'MenksoftQagan'),
114
-
home: MyHomePage(),
115
+
// ...
115
116
);
116
117
```
117
118
@@ -142,6 +143,15 @@ MongolTextField(
142
143
),
143
144
```
144
145
146
+
In order to correctly handle right/left and up/down keys on the web and desktop (or for physical keyboards connected to a mobile app), you need to return the `MongolTextEditingShortcuts` widget from the `builder` method of your `MaterialApp` (or `CupertinoApp` or `WidgetsApp`) at the top of your widget tree:
0 commit comments