Skip to content

native-dom: sync public event constructors and exports from blitz - #6120

Merged
nicoburns merged 1 commit into
mainfrom
devin/1795600431-sync-dioxus-native
Nov 25, 2026
Merged

nicoburns merged 1 commit into
mainfrom
devin/1795600431-sync-dioxus-native

Conversation

@nicoburns

@nicoburns nicoburns commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Ports DioxusLabs/blitz#1760 (merged on blitz main as 3e7d1d1db) into this repo's copy of dioxus-native-dom, so the two copies match again.

  • events.rs: public new constructors for the native wheel, scroll and touch event data types.
  • lib.rs: crate-root re-exports for the focus, scroll and touch event data types.
  • tests/events.rs: native_event_data_can_be_constructed_outside_the_crate covers the four public types from outside the crate.

Code is taken verbatim from blitz, keeping this repo's dioxus-vdom imports. The remaining differences between the two copies are intentional and untouched: the dioxus-core → dioxus-vdom rename (#6021, #6054), manifest/version wiring, and the test layout (#6114).

cargo clippy -p dioxus-native -p dioxus-native-dom --all-targets -D warnings and cargo test -p dioxus-native -p dioxus-native-dom pass.


NativeSyncBot opened this PR for Nico
Implemented in session Sync dioxus-native crates between dioxus and blitz
Review with Devin · Open in Devin Desktop


@staging-devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@nicoburns
nicoburns merged commit 0d633cf into main Nov 25, 2026
23 checks passed
@nicoburns
nicoburns deleted the devin/1795600431-sync-dioxus-native branch November 25, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant