This repository was archived by the owner on Dec 17, 2025. It is now read-only.
Commit b20fd4d
Fixes a small potential bug on headless switch component (#933)
The `click`-event is now correctly handled by stop propagating it and `preventDefault` as the headless component will do all the work.
This could have led to bugs when using the component with explicit `DataBinging`, where the `handler`-lambda would be used to intercept the update call.
Co-authored-by: christian.hausknecht <christian.hausknecht@oeffentliche.de>1 parent 32dacf2 commit b20fd4d
File tree
1 file changed
+4
-1
lines changed- headless/src/jsMain/kotlin/dev/fritz2/headless/components
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments