From cf926b034640692dcb3f357f41e8983165719fd1 Mon Sep 17 00:00:00 2001 From: Jackie Luo Date: Tue, 12 Apr 2016 14:51:56 -0700 Subject: [PATCH] fix(composer-emoji): Fix calculation for category positioning --- internal_packages/composer-emoji/lib/emoji-button-popover.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal_packages/composer-emoji/lib/emoji-button-popover.jsx b/internal_packages/composer-emoji/lib/emoji-button-popover.jsx index e9371a28e..7c50311de 100644 --- a/internal_packages/composer-emoji/lib/emoji-button-popover.jsx +++ b/internal_packages/composer-emoji/lib/emoji-button-popover.jsx @@ -137,9 +137,7 @@ class EmojiButtonPopover extends React.Component { categoryPositions[category].top = verticalPos; verticalPos += height; categoryPositions[category].bottom = verticalPos; - if (category !== 'People') { - verticalPos += 24; - } + verticalPos += 24; } } return {