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