mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-24 03:47:53 +00:00
fix popover
This commit is contained in:
parent
72bb39cc62
commit
3a71196de3
@ -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…
x
Reference in New Issue
Block a user