Commit cdacec1f authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'fix-selecting-status-emoji-twice' into 'master'

Fix invisible modal on status emoji selection

See merge request gitlab-org/gitlab!33398
parents 26b589b6 ec81a1c8
......@@ -82,7 +82,8 @@ export default {
})
.catch(() => createFlash(__('Failed to load emoji list.')));
},
showEmojiMenu() {
showEmojiMenu(e) {
e.stopPropagation();
this.isEmojiMenuVisible = true;
this.emojiMenu.showEmojiMenu($(this.$refs.toggleEmojiMenuButton));
},
......
---
title: Fix invisible emoji modal on Set Status form when clicked the second time
merge_request: 33398
author:
type: fixed
......@@ -245,6 +245,15 @@ describe 'User edit profile' do
end
end
it 'opens the emoji modal again after closing it' do
open_user_status_modal
select_emoji('biohazard', true)
find('.js-toggle-emoji-menu').click
expect(page).to have_selector('.emoji-menu')
end
it 'does not update the awards panel emoji' do
project.add_maintainer(user)
visit(project_issue_path(project, issue))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment