Skip to content

Commit

Permalink
Disable discrete selective hydration for submit event
Browse files Browse the repository at this point in the history
This blocks the action replaying mechanism because it calls stopPropagation.
  • Loading branch information
sebmarkbage committed Apr 25, 2023
1 parent 120244f commit af1d403
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const discreteReplayableEvents: Array<DOMEventName> = [
'change',
'contextmenu',
'reset',
'submit',
// 'submit', // stopPropagation blocks the replay mechanism
];

export function isDiscreteEventThatRequiresHydration(
Expand Down

0 comments on commit af1d403

Please sign in to comment.