Open osdiab opened 2 weeks ago
same thing seems to happen on vercel edge
Working on this @osdiab 🫡
@osdiab try @builder.io/qwik
and @builder.io/qwik-city
w/ the key of dev
and see if this fixes your problem. Seems to work for me
@thejackshelton sorry I don’t think I understand what you mean - do you mean the latest dev build of qwik/qwik-city? Thanks!
@thejackshelton sorry I don’t think I understand what you mean - do you mean the latest dev build of qwik/qwik-city? Thanks!
Try Qwik 1.6, as I think this should fix the issue.
Which package is affected?
Headless Kit
Describe the bug
I tried deploying a small Qwik website with a manual
usePopover()
in it, and it worked locally; but when deploying to Cloudflare Pages, I got this error on the production logs:From the stack trace looks like it's something inside of the
usePopover()
hook. That said I am pretty new to Qwik so maybe I'm holding it wrong.EDIT
I tried to make a minimal reproduction, but then instead now I'm seeing that the example nearly straight copy-pasted from the
usePopover()
example on the Qwik UI website just doesn't seem to call the handler at all (but something outside of thePopover.Root
works fine):Repro: https://github.com/osdiab/repro-qwik-ui-popover-cloudflare-fail
Result on Cloudflare Pages: https://5bc62893.repro-qwik-ui-popover-cloudflare-fail.pages.dev
Reproduction
https://github.com/osdiab/personal-website/blob/93179b5ae60e1c23fc821f75541b5b4a7778e332/apps/web-app/src/components/tooltip.tsx#L48
Steps to reproduce
Locally no error, but when I deployed this on Cloudflare Pages then try to access the page, it returns a 500 and I get the error.
usePopover()
in itI tried to remove all the other
use*
, event handlers, etc from my personal websiteTooltip
example, but it crashes until I comment out theusePopover()
altogether.System Info
Additional Information