Skip to content

Commit 4a377ae

Browse files
authored
Ensure TouchPoint is not trimmed away (#32398)
Workaround for #32357 until we can switch to using source generator
1 parent bbe65b8 commit 4a377ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Components/Shared/src/WebEventData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ private static EventArgs ParseEventArgsJson(Renderer renderer, JsonSerializerOpt
8181

8282
[DynamicDependency(JsonSerialized, typeof(DataTransfer))]
8383
[DynamicDependency(JsonSerialized, typeof(DataTransferItem))]
84+
[DynamicDependency(JsonSerialized, typeof(TouchPoint))]
8485
private static bool TryDeserializeStandardWebEventArgs(string eventName, string eventArgsJson, [NotNullWhen(true)] out EventArgs? eventArgs)
8586
{
8687
// For back-compatibility, we recognize the built-in list of web event names and hard-code

0 commit comments

Comments
 (0)