mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-07 07:46:32 +02:00
fix arrow key breaking bug
This commit is contained in:
@@ -263,7 +263,7 @@ class Content extends React.Component {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
this.tmp.isComposing &&
|
this.tmp.isComposing &&
|
||||||
key == 'left' || key == 'right' || key == 'up' || key == 'down'
|
(key == 'left' || key == 'right' || key == 'up' || key == 'down')
|
||||||
) {
|
) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user