1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 22:31:18 +02:00

fix: clicking three dots on post opens all dropdowns in .Post-actions (#3185)

This commit is contained in:
David Wheatley
2021-12-06 17:03:07 +00:00
committed by GitHub
parent 60c3e2fe77
commit 4e16207453

View File

@@ -66,8 +66,8 @@ export default class Post extends Component {
buttonClassName="Button Button--icon Button--flat"
menuClassName="Dropdown-menu--right"
icon="fas fa-ellipsis-h"
onshow={() => this.$('.Post-actions').addClass('open')}
onhide={() => this.$('.Post-actions').removeClass('open')}
onshow={() => this.$('.Post-controls').addClass('open')}
onhide={() => this.$('.Post-controls').removeClass('open')}
accessibleToggleLabel={app.translator.trans('core.forum.post_controls.toggle_dropdown_accessible_label')}
>
{controls}