Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 7, 2026

Navigation items in the settings section were flickering during transitions due to wire:navigate being applied to navlist items within the same section.

Changes

  • Removed wire:navigate from all four settings navigation items (Profile, Password, Appearance, Locale) in resources/views/components/settings/layout.blade.php
<!-- Before -->
<flux:navlist.item href="{{ route('settings.profile') }}" wire:navigate>Profile</flux:navlist.item>

<!-- After -->
<flux:navlist.item href="{{ route('settings.profile') }}">Profile</flux:navlist.item>

This aligns with the standard Livewire starter kit pattern where wire:navigate is not used on navigation menu items within the same section, preventing unnecessary page reloads and flickering.

Original prompt

This section details on the original issue you should resolve

<issue_title>Pages flicker</issue_title>
<issue_description>I have noticed that all the pages flicker

Try to create a new Laravel app with the standard livewire starter kit, and go to the profile and navigate and you will see that selecting the different pages does not flicker whereas it does in your version</issue_description>

Comments on the Issue (you are @copilot in this section)

@mortenebak Yeah, I think its an issue using `wire:navigate` on nav menu items. I will remove them if I haven't already :)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix pages flicker in navigation Remove wire:navigate from settings navigation to fix flickering Jan 7, 2026
Copilot AI requested a review from mortenebak January 7, 2026 09:58
@mortenebak mortenebak marked this pull request as ready for review January 8, 2026 10:48
@mortenebak mortenebak merged commit 1629a67 into main Jan 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pages flicker

2 participants