diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-22 11:26:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 11:26:14 +0100 |
commit | 43dbc6256854a9832c7255fc62a8fa8df7244dd6 (patch) | |
tree | 8a6d3dbb0ab1deaa2caae707baad43ea6cd8f6d3 /app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js | |
parent | bdc61d467d704a0fff358e46d2bf7acba9c9269e (diff) |
Fix privacy dropdown in boost modal on mobile (#1967)
Fixes #1965
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js b/app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js index 14364b0a0..02cf72289 100644 --- a/app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js +++ b/app/javascript/flavours/glitch/features/compose/components/privacy_dropdown.js @@ -32,7 +32,7 @@ class PrivacyDropdown extends React.PureComponent { }; render () { - const { value, onChange, onModalOpen, onModalClose, disabled, noDirect, container, intl: { formatMessage } } = this.props; + const { value, onChange, onModalOpen, onModalClose, disabled, noDirect, container, isUserTouching, intl: { formatMessage } } = this.props; // We predefine our privacy items so that we can easily pick the // dropdown icon later. @@ -75,6 +75,7 @@ class PrivacyDropdown extends React.PureComponent { icon={(privacyItems[value] || {}).icon} items={items} onChange={onChange} + isUserTouching={isUserTouching} onModalClose={onModalClose} onModalOpen={onModalOpen} title={formatMessage(messages.change_privacy)} |