mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
add support for arrow keys
This commit is contained in:
@@ -256,7 +256,10 @@ class Map extends React.Component {
|
||||
) : null
|
||||
|
||||
return (
|
||||
<div className={classes}>
|
||||
<div className={classes}
|
||||
onKeyDown={this.props.onKeyDown}
|
||||
tabIndex='0'
|
||||
>
|
||||
<div id={this.props.ui.dom.map} />
|
||||
{innerMap}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user