Describe the bug
Submitting a form with an action that throws a redirect to paths() does not redirect. The constructed URL is malformed. Manually typing the path out ("/#page1") results in the same behavior. This issue only exists with the hashHistory setting enabled. I've included a minimal repro.
Temporary workaround is to disable hashHistory for now.
solid-js@2.0.0-beta.29
@solidjs/web@2.0.0-beta.29
@solidjs/router@2.0.0-next.13
Your Example Website or App
https://codesandbox.io/p/devbox/x64vy8
Steps to Reproduce the Bug or Issue
- Visit page (https://codesandbox.io/p/devbox/x64vy8).
- Submit the form.
Expected behavior
When a user submits the form, it should navigate to /#page1.
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Chrome
- Chrome 151
Additional context
No response
Describe the bug
Submitting a form with an action that throws a redirect to paths() does not redirect. The constructed URL is malformed. Manually typing the path out ("/#page1") results in the same behavior. This issue only exists with the hashHistory setting enabled. I've included a minimal repro.
Temporary workaround is to disable hashHistory for now.
solid-js@2.0.0-beta.29
@solidjs/web@2.0.0-beta.29
@solidjs/router@2.0.0-next.13
Your Example Website or App
https://codesandbox.io/p/devbox/x64vy8
Steps to Reproduce the Bug or Issue
Expected behavior
When a user submits the form, it should navigate to /#page1.
Screenshots or Videos
No response
Platform
Additional context
No response