Removed popover changes
This commit is contained in:
parent
43ad139681
commit
17c8336b23
|
@ -85,10 +85,7 @@ export default class Popover extends Popup {
|
|||
let maxWith = maxRight - margin;
|
||||
let maxHeight = maxBottom - margin - arrowHeight;
|
||||
|
||||
const scrollbarWidth = (popoverRect.width);
|
||||
const innerEl = this.windowEl.querySelector('.content > *');
|
||||
console.log(innerEl);
|
||||
let width = clamp(popoverRect.width, parentRect.width, maxWith) + 20;
|
||||
let width = clamp(popoverRect.width, parentRect.width, maxWith);
|
||||
let height = popoverRect.height;
|
||||
|
||||
let left = parentRect.left + parentRect.width / 2 - width / 2;
|
||||
|
|
Loading…
Reference in New Issue