-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐞] usePopover with Cloudflare adapter fails to respond/causes qwik error 20 #837
Comments
same thing seems to happen on vercel edge |
Working on this @osdiab 🫡 |
@osdiab try |
@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. |
Confirmed that it did make the repro repo work, but my personal one is still not OK; debugging further to see if I can figure something out. Thanks, |
Qwik 1.7 made this go away. |
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
The text was updated successfully, but these errors were encountered: