diff --git a/src/ContextualMenu.js b/src/ContextualMenu.js
index cdfff952bb..7865e45a75 100644
--- a/src/ContextualMenu.js
+++ b/src/ContextualMenu.js
@@ -49,15 +49,25 @@ module.exports = {
var position = {
top: props.top - 20,
- right: props.right + 8,
};
+ var chevron = null;
+ if (props.left) {
+ chevron =
+ position.left = props.left + 8;
+ } else {
+ chevron =
+ position.right = props.right + 8;
+ }
+
+ var className = 'mx_ContextualMenu_wrapper';
+
// FIXME: If a menu uses getDefaultProps it clobbers the onFinished
// property set here so you can't close the menu from a button click!
var menu = (
-