FIX: ensures card cloak is removed (#9582)
Repro steps for current failure: - use mobile view - click on a different user avatar to show user card - click message - close composer - cloak is still showing and prevents any click
This commit is contained in:
parent
7a946b9f5c
commit
4eed86919e
|
@ -65,9 +65,9 @@ export default Component.extend(CardContentsBase, CleansUp, {
|
|||
},
|
||||
|
||||
_close() {
|
||||
this._super(...arguments);
|
||||
|
||||
this.set("group", null);
|
||||
|
||||
this._super(...arguments);
|
||||
},
|
||||
|
||||
cleanUp() {
|
||||
|
|
|
@ -177,12 +177,12 @@ export default Component.extend(CardContentsBase, CanCheckEmails, CleansUp, {
|
|||
},
|
||||
|
||||
_close() {
|
||||
this._super(...arguments);
|
||||
|
||||
this.setProperties({
|
||||
user: null,
|
||||
topicPostCount: null
|
||||
});
|
||||
|
||||
this._super(...arguments);
|
||||
},
|
||||
|
||||
cleanUp() {
|
||||
|
|
|
@ -280,6 +280,8 @@ export default Mixin.create({
|
|||
if (this.site.mobileView) {
|
||||
this._unbindMobileScroll();
|
||||
}
|
||||
|
||||
this._hide();
|
||||
},
|
||||
|
||||
willDestroyElement() {
|
||||
|
|
Loading…
Reference in New Issue