Commit ab67874
authored
fix: avoid setting sequential focus navigation starting point when using hash router (#13861)
This PR fixes a regression caused by #10856 which broke hash router navigation.
We can't apply the same fix for hash routing because location.replace doesn't work since the browser interprets the entire hash as the element it should focus but we're using it as a pathname replacement. element.focus() doesn't work on Safari and Ubuntu Firefox so that's moot too.1 parent 6261a87 commit ab67874
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2800 | 2800 | | |
2801 | 2801 | | |
2802 | 2802 | | |
2803 | | - | |
| 2803 | + | |
| 2804 | + | |
2804 | 2805 | | |
2805 | 2806 | | |
2806 | 2807 | | |
| |||
0 commit comments