Closed
Description
App panics immediately after start with panicked at 'Can't find old handler', src/libcore/option.rs:1036:5
.
Minimal example:
#[macro_use]
extern crate seed;
use seed::prelude::*;
struct Model;
#[derive(Clone)]
struct Msg;
fn update(_: Msg, _: &mut Model, _: &mut impl Orders<Msg>) {}
fn view(_: &Model) -> impl View<Msg> {
input![
input_ev(Ev::Input, |_| Msg),
]
}
#[wasm_bindgen(start)]
pub fn render() {
seed::App::build(|_, _| Init::new(Model), update, view)
.finish()
.run();
}
Once is input
wrapped in div
, the problem disappears.