|
|
@ -93,13 +93,13 @@ export class FriendItemActions extends connect(store)(LitElement) { |
|
|
|
attachToTarget(target) { |
|
|
|
attachToTarget(target) { |
|
|
|
if (!this.popperInstance && target) { |
|
|
|
if (!this.popperInstance && target) { |
|
|
|
this.popperInstance = createPopper(target, this, { |
|
|
|
this.popperInstance = createPopper(target, this, { |
|
|
|
placement: 'bottom', |
|
|
|
placement: 'bottom' |
|
|
|
strategy: 'fixed', |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openPopover(target) { |
|
|
|
openPopover(target) { |
|
|
|
|
|
|
|
console.log({target}) |
|
|
|
this.attachToTarget(target); |
|
|
|
this.attachToTarget(target); |
|
|
|
this.style.display = 'block'; |
|
|
|
this.style.display = 'block'; |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|