We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3c187 commit 5d6701aCopy full SHA for 5d6701a
src/components/popover/popover.ts
@@ -287,12 +287,9 @@ export default class IgcPopoverComponent extends LitElement {
287
left: 'right',
288
}[first(placement.split('-'))]!;
289
290
- // TODO: Clean-up this stuff
291
Object.assign(this.arrow!.style, {
292
- left: x !== null ? `${roundByDPR(x!)}px` : '',
293
- top: y !== null ? `${roundByDPR(y!)}px` : '',
294
- right: '',
295
- bottom: '',
+ left: x != null ? `${roundByDPR(x)}px` : '',
+ top: y != null ? `${roundByDPR(y)}px` : '',
296
[staticSide]: '-4px',
297
});
298
}
0 commit comments