Aaron Pham
2024-02-02 295b8fc9149e6702629717e3b71b2eff7d726a19
quartz/components/scripts/popover.inline.ts
@@ -7,6 +7,10 @@
  { clientX, clientY }: { clientX: number; clientY: number },
) {
  const link = this
  if (link.dataset.noPopover === "true") {
    return
  }
  async function setPosition(popoverElement: HTMLElement) {
    const { x, y } = await computePosition(link, popoverElement, {
      middleware: [inline({ x: clientX, y: clientY }), shift(), flip()],