about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2019-06-10 19:27:17 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-06-10 12:27:17 +0200
commit210fa3a94e18f95a264a20046602db9c5e838479 (patch)
tree8bd94b407715414e7cc07283537af493723b849b /app
parent420551872d165e82aa8fce6c97db559a71331a1d (diff)
Fix emoji-button appearing above privacy-dropdown (#11027)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/compose/components/privacy_dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
index 3288f81f8..d02a55be0 100644
--- a/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
+++ b/app/javascript/mastodon/features/compose/components/privacy_dropdown.js
@@ -129,7 +129,7 @@ class PrivacyDropdownMenu extends React.PureComponent {
           // It should not be transformed when mounting because the resulting
           // size will be used to determine the coordinate of the menu by
           // react-overlays
-          <div className={`privacy-dropdown__dropdown ${placement}`} style={{ ...style, opacity: opacity, transform: mounted ? `scale(${scaleX}, ${scaleY})` : null }} role='listbox' ref={this.setRef}>
+          <div className={`privacy-dropdown__dropdown ${placement}`} style={{ ...style, opacity: opacity, transform: mounted ? `scale(${scaleX}, ${scaleY})` : null, zIndex: 2 }} role='listbox' ref={this.setRef}>
             {items.map(item => (
               <div role='option' tabIndex='0' key={item.value} data-index={item.value} onKeyDown={this.handleKeyDown} onClick={this.handleClick} className={classNames('privacy-dropdown__option', { active: item.value === value })} aria-selected={item.value === value} ref={item.value === value ? this.setFocusRef : null}>
                 <div className='privacy-dropdown__option__icon'>