jack2  
                
                  
                    April 9, 2019,  9:28pm
                   
                  1 
               
             
            
              I’m using the Custom Header Links component and I’m getting this strange behavior:
In my prod instance, clicking a header link reloads Discourse entirely to the target page. 
In my dev instance (without docker), clicking a header link transitions smoothly to the target page without reloading Discourse. 
 
I noticed that:
In my prod instance, <a> tags have a data-auto-route="true" attribute. 
In my dev instance, <a> tags don’t have this attribute. 
 
It seems the same kind of problem happened in the past (see here ), before the official header components were released.
             
            
              2 Likes 
            
            
           
          
            
              
                syl  
              
                  
                    April 26, 2019, 10:54pm
                   
                  2 
               
             
            
            
              
            
           
          
            
              
                Stephen  
              
                  
                    April 26, 2019, 11:02pm
                   
                  3 
               
             
            
              Reverting the change from @j.jaffeux  breaks internal links in a different way. I wouldn’t use a forked plugin - it just means when this gets fixed for real you won’t receive the changes automatically.
The commit in question:
https://github.com/discourse/discourse-custom-header-links/commit/bfda9d3b50bd8e027024b62aa0b7e68611248073 
             
            
              1 Like 
            
            
           
          
            
              
                Johani  
              
                  
                    May 4, 2019,  2:51pm
                   
                  5 
               
             
            
              This is fixed in the official component , internal links will no longer cause a full page reload.
Thanks for reporting the issue @jack2  
             
            
              5 Likes