Replies: 1 comment 3 replies
-
Same. Does anyone have a solution? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Livewire version
3.0.1
Which PHP version are you using?
PHP 8.1
Repository URL
No response
Steps To Reproduce
Normally when navigating to a link containing an #anchor, the page loads scrolled to the position of #anchor.
When navigating to a url containing an #anchor combined with wire:navigate, the page loads but is not scrolled to the position of the id.
In this example the first link loads the page scrolled to the
with the id 'starthere'.
However, the second link loads the page but not scrolled to the id 'starthere'.
<br/> <a href="/curpage#starthere">Navigate without wire:navigate</a><br/> <a href="/curpage#starthere" wire:navigate>Navigate using wire:navigate</a> <div class="h-[3000px]"> Filler </div> <p id="starthere">Start here</p> <div class="h-[3000px]"> More Filler </div>
Additional information
No response
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions