-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use explicit class instead of :target
Turbo Drive breaks the browser's back / forward buttons when navigating to a history entry that was not added by Turbo Drive. (The URL in the address bar changes, but the page itself does not.) Therefore, this commit abandons working around Turbo Drive to fix `:target` behavior, and adds an explicit `.target` class in response to navigation events instead.
- Loading branch information
1 parent
11f7ba4
commit 77d955d
Showing
2 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters