lapce / floem

A native Rust UI library with fine-grained reactivity
https://docs.rs/floem
MIT License
2.81k stars 127 forks source link

checkbox doesn't fire `.on_click_stop` in example #515

Open dspo opened 3 months ago

dspo commented 3 months ago

checkbox doesn't fire .on_click_stop in example

https://github.com/lapce/floem/blob/0b299f7b578409f32e5a27b9f31e6eca889cc2da/examples/widget-gallery/src/lists.rs#L64-L69

dzhou121 commented 3 months ago

It works fine for me with on_click_stop. Would you mind sharing a screen cast of the issue?

dspo commented 3 months ago

It works fine for me with on_click_stop. Would you mind sharing a screen cast of the issue?

My machine is a MacOS M2.

When using .on_click_stop I click checkbox and nothing is printed.

20240719175226_rec_

.on_update works OK.

20240719175448_rec_

dzhou121 commented 3 months ago

Got it, thanks.

sgued commented 2 months ago

This is the same issue as https://github.com/lapce/floem/issues/533