Skip to content

Commit

Permalink
Transfer the shiftKey property for federated events (#8674)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Sep 29, 2022
1 parent e5cc328 commit 77f6ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/events/src/EventSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ export class EventSystem
event.page.x = nativeEvent.pageX;
event.page.y = nativeEvent.pageY;
event.relatedTarget = null;
event.shiftKey = nativeEvent.shiftKey;
}
}

Expand Down

0 comments on commit 77f6ffc

Please sign in to comment.