diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-02 15:46:31 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-02 15:46:31 +0200 |
commit | e809caa0e1633cede15b2578d1582d9878eae291 (patch) | |
tree | 095b2b4174c7177bbda71db81ad2fed04535405b /app/assets | |
parent | 750662d9e2e2276495e692825422f4326bbb6e80 (diff) |
Fix feed regeneration bug
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/components/features/compose/index.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/compose/index.jsx b/app/assets/javascripts/components/features/compose/index.jsx index d4df259dc..9421de3ff 100644 --- a/app/assets/javascripts/components/features/compose/index.jsx +++ b/app/assets/javascripts/components/features/compose/index.jsx @@ -72,7 +72,7 @@ const Compose = React.createClass({ <Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}> {({ x }) => - <div className='drawer__inner darker' style={{ transform: `translateX(${x}%)` }}> + <div className='drawer__inner darker' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}> <SearchResultsContainer /> </div> } |