DioxusLabs/dioxus · error

todo: convert_before_input_data in dioxus-native. requires…

Error message

todo: convert_before_input_data in dioxus-native. requires support in blitz

What it means

`NativeConverter::convert_before_input_data` is an explicit `unimplemented!` placeholder: dioxus-native cannot yet convert beforeinput events because blitz lacks support. It panics if a beforeinput event is dispatched in the native renderer — a known missing feature.

Solutions

  1. Before-input events are not yet implemented in dioxus-native (requires blitz support). Avoid relying on beforeinput with the native renderer, or add the conversion in packages/native-dom/src/events.rs.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at packages/native-dom/src/events.rs:72 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of DioxusLabs/dioxus@e2cc82e63f (2026-08-23). Data as JSON: /api/errors/13e7e9c51da4588e. Report an issue: GitHub.

Appendix: source

Thrown at packages/native-dom/src/events.rs:72

    fn convert_keyboard_data(&self, event: &PlatformEventData) -> KeyboardData {
        event
            .downcast::<BlitzKeyboardData>()
            .unwrap()
            .clone()
            .into()
    }

    fn convert_focus_data(&self, _event: &PlatformEventData) -> FocusData {
        NativeFocusData {}.into()
    }

    fn convert_animation_data(&self, _event: &PlatformEventData) -> AnimationData {
        unimplemented!("todo: convert_animation_data in dioxus-native. requires support in blitz")
    }

    fn convert_before_input_data(&self, _event: &PlatformEventData) -> BeforeInputData {
        unimplemented!(
            "todo: convert_before_input_data in dioxus-native. requires support in blitz"
        )
    }

    fn convert_clipboard_data(&self, _event: &PlatformEventData) -> ClipboardData {
        unimplemented!("todo: convert_clipboard_data in dioxus-native. requires support in blitz")
    }

    fn convert_composition_data(&self, _event: &PlatformEventData) -> CompositionData {
        unimplemented!("todo: convert_composition_data in dioxus-native. requires support in blitz")
    }

    fn convert_drag_data(&self, _event: &PlatformEventData) -> DragData {
        unimplemented!("todo: convert_drag_data in dioxus-native. requires support in blitz")
    }

    fn convert_image_data(&self, _event: &PlatformEventData) -> ImageData {
        unimplemented!("todo: convert_image_data in dioxus-native. requires support in blitz")

View on GitHub (pinned to e2cc82e63f)