mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
fix arrow key breaking bug
This commit is contained in:
parent
5c5c92bff3
commit
1e433b36ae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user