Yes.
Look at your network tab in your developer tools when you submit the form.
You’ll find that the page doesn’t make any network request when the form is submitted.
This will be due to the code you’ve indicated you have:
const handleSubmit = (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
navigate("/thank-you")
};
This code says:
When the form is about to be submitted
Don’t do the default action (the POST request)
Just change the page to/thank-you
So, it’s behaving as written.
Netlify’s system can’t receive a submission that is never sent.
See this documentation for an example of what you probably want to do:
https://docs.netlify.com/forms/setup/#submit-html-forms-with-ajax