Skip to content

Conversation

@Varixo
Copy link
Member

@Varixo Varixo commented Nov 18, 2025

Don't trigger document and window events for normal events

@Varixo Varixo self-assigned this Nov 18, 2025
@Varixo Varixo requested a review from a team as a code owner November 18, 2025 17:45
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2025

🦋 Changeset detected

Latest commit: 23b3dcd

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Varixo Varixo changed the title fix: don't trigger document and window events for normal events fix(qwikloader): don't trigger document and window events for normal events Nov 18, 2025
@Varixo Varixo force-pushed the v2-qwikloader-document-event-fix branch from 8b493a1 to 5a4ea31 Compare November 18, 2025 17:53
@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 23b3dcd

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@8170
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@8170
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@8170
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@8170

commit: 23b3dcd

@Varixo Varixo moved this from Backlog to Waiting For Review in Qwik Development Nov 18, 2025
});
expect(result.html).toContain(
'(window.qwikevents||(window.qwikevents=[])).push("focus", "-my---custom", "click", "dblclick", "another-custom", "blur")'
'(window.qwikevents||(window.qwikevents=[])).push(":focus", ":-my---custom", ":click", ":dblclick", ":another-custom", ":blur")'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add document and windows events here too

@Varixo Varixo force-pushed the v2-qwikloader-document-event-fix branch 2 times, most recently from 8ce34f6 to 3df04b1 Compare November 18, 2025 19:00
@Varixo Varixo force-pushed the v2-qwikloader-document-event-fix branch from 3df04b1 to 23b3dcd Compare November 18, 2025 19:10
Copy link
Member

@wmertens wmertens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmertens wmertens merged commit c3221c2 into build/v2 Nov 19, 2025
20 checks passed
@wmertens wmertens deleted the v2-qwikloader-document-event-fix branch November 19, 2025 15:09
@github-project-automation github-project-automation bot moved this from Waiting For Review to Done in Qwik Development Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants