ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

Sample App - Updating Page Title

Open Xiot opened this issue 12 years ago • 11 comments

I noticed an oddity in the sample application when using updating the page title using the current state. I posted on SO (http://stackoverflow.com/questions/20183222/updating-title-tag-using-angularjs-and-ui-router) with an explanation and re-production steps.

In short, click on About, and the first item in the history has the title 'about - ui-router' instead of 'home - ui-router'

Xiot avatar Dec 13 '13 00:12 Xiot

I'm not seeing the issue. Where exactly, visually, are you seeing this issue? The tab name? The elements pane in dev tools in the <title> node? The history list in my browser? These things all look fine to me. What browser are you using?

timkindberg avatar Dec 13 '13 03:12 timkindberg

The history list in the browser is what is off.

Here is some screenshots. Using Chrome 31, although the same behaviour shows up in ie 10 image

The history in the second screenshot should show 'home - ui-router' and not about

Xiot avatar Dec 13 '13 04:12 Xiot

Ah ok, yes. Odd. Seems valid to me.

timkindberg avatar Dec 13 '13 04:12 timkindberg

As in that behavior doesn't appear on your side, or do you think it's working as intended?

Xiot avatar Dec 13 '13 05:12 Xiot

Valid bug, not working as intended. (Although not particularly horrible either). I've added it to the next version's release schedule.

timkindberg avatar Dec 13 '13 15:12 timkindberg

@timkindberg when is next version released which includes a fix to this bug?

andertun avatar Mar 31 '14 11:03 andertun

I encountered this one today too. Pretty frustrating, thought I was going crazy!

Any news on when this will be fixed? Or where to look to attempt a fix?

iest avatar Jun 23 '14 17:06 iest

Same here, very strange this behaviour.

kevinrenskers avatar Jul 02 '14 16:07 kevinrenskers

+1 for a fix to this bug.

adamc00 avatar Jul 16 '14 23:07 adamc00

+1 for a fix to this bug.

timmaybrown avatar Jul 27 '15 16:07 timmaybrown

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb

eddiemonge avatar Sep 11 '15 22:09 eddiemonge