Browse Source

fix popover

master
PhilReact 11 months ago
parent
commit
3a71196de3
  1. 4
      core/src/components/friends-view/friend-item-actions.js

4
core/src/components/friends-view/friend-item-actions.js

@ -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(() => {

Loading…
Cancel
Save