DioxusLabs/dioxus · error

todo: convert_resize_data in dioxus-native. requires…

Error message

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

What it means

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

Solutions

  1. Resize events are not yet implemented in dioxus-native (requires blitz support). Avoid relying on resize events 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:134 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/d076677ddfc5b6b0. Report an issue: GitHub.

Appendix: source

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

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

    fn convert_touch_data(&self, event: &PlatformEventData) -> TouchData {
        event.downcast::<NativeTouchData>().unwrap().clone().into()
    }

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

    fn convert_wheel_data(&self, event: &PlatformEventData) -> WheelData {
        event.downcast::<NativeWheelData>().unwrap().clone().into()
    }

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

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

#[derive(Clone)]
pub struct NodeHandle {
    pub(crate) doc: Rc<RefCell<BaseDocument>>,
    pub(crate) node_id: NodeId,
}

impl NodeHandle {
    pub fn node_id(&self) -> NodeId {
        self.node_id
    }

View on GitHub (pinned to e2cc82e63f)