Commit Graph
30 Commits
Author SHA1 Message Date
Evan Almloff d8026f8824 Fix autofill event downcast - ignore events of the wrong type (#5379)
* fix autofill events

* ignore the wrong type of event like we do in desktop

* check the event type before dispatch instead of panicing on downcast

* clean up conversion

* remove example

* pull out shared event list

* pull in deserialize_raw

* unified event list

* prettier comment

* restore test

* restore alias

* normal doc comments

* move over comments

* minimize diff

* remove alias, was moved into the macro
2026-04-07 13:18:24 -07:00
Jonathan Kelley 4f1d039bad clean up prelude (#4416)
* clear away prelude on dioxus

* clippy

* wip - drop prelude from dioxus-html

* docs clippy

* wip

* more fixe

* delete all preludes

* doc...

* better export

* merge some imports

* fewer global imports

* global incremental renderer

* fix cargo doc
2025-07-16 16:04:13 -07:00
Casey Kneale 9e09bcf3f7 trivial fix for documentation example for onclick handler of buttons (#3882) 2025-03-16 16:25:17 -07:00
Matt Hunzinger 4bf71111c8 Refactor WebEventExt (#2707)
* Create WebEventExt::try_as_web_event and refactor
* Inline and adjust error message
* Inline downcast methods
2024-07-31 13:01:25 -07:00
Evan Almloff 438c03ad68 fix the double click event 2024-01-08 13:10:09 -06:00
Jonathan Kelley 211dd64d92 Merge branch 'master' into issue-1179 2024-01-08 09:39:41 -08:00
Jonathan Kelley b8a47d04d6 fmt 2024-01-07 00:05:31 -08:00
Evan Almloff 53422ae199 fix the ondouble click desktop test 2024-01-06 15:55:43 -06:00
Evan Almloff f3ad445882 fix hydration 2024-01-06 09:08:51 -06:00
Evan Almloff dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Evan Almloff 422df68fea fix formatting 2024-01-03 15:35:24 -06:00
ealmloff 937be8b752 fix the on double click event and depreciate ondblclick (#1743) 2024-01-03 14:02:08 -06:00
Evan Almloff 219c068283 Merge branch 'master' into events-2 2023-09-17 20:01:21 -05:00
Evan Almloff c10700c962 add touch data to touch events 2023-09-12 17:28:55 -05:00
Evan Almloff a9bb04722f split the point interaction trait into smaller traits for touch compatibility 2023-09-12 10:01:53 -05:00
Evan Almloff c55c17cb81 switch to tracing for logging 2023-09-06 17:47:33 -05:00
Evan Almloff 8ba1c05a93 fix desktop events 2023-08-28 16:37:19 -05:00
Evan Almloff 93cbfd0dbc derive more traits for serialized types 2023-08-28 12:35:43 -05:00
Evan Almloff 299b123446 trait based event system 2023-08-25 17:02:48 -05:00
Evan Simkowitz e0f42f8173 Fix rink 2023-08-23 13:31:42 -04:00
Evan Simkowitz 0e5600f2f4 add impl for pointer 2023-08-23 12:47:37 -04:00
Evan Simkowitz cc3f60dd2f Adding PointInteraction trait, etc. 2023-08-22 23:29:24 -04:00
Jonathan Kelley e22f4ad6cf fix: resolve clippy warnings 2022-12-29 16:21:24 -05:00
Jonathan Kelley 50faa7dd08 feat: add proper event type 2022-12-19 14:14:01 -08:00
Jonathan Kelley 3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley 0027cdd938 chore: get event test working 2022-11-27 09:38:40 -05:00
Jonathan Kelley 08ca068d1c chore: iron out all events 2022-11-21 17:15:17 -08:00
Jonathan Kelley 8caabb97d8 wip: more work on html 2022-11-15 16:51:22 -08:00
Jonathan Kelley 0dad91bc08 wip: pass more events 2022-11-15 16:37:23 -08:00
Jonathan Kelley 47d0f51e00 wip: overhaul event system 2022-11-15 16:05:22 -08:00