React-helmet: Switch tabs change title to first visited

Created on 24 Jun 2019  路  13Comments  路  Source: nfl/react-helmet

Current behavior

When i attach page A with title "Title A" and switch view to page B with title "Title B" everything works fine and title is changed from A to B.

Problem occurs when i switch tab in browser (or minimize and maximize window). Even though i have opened page B it changes the title to "Title A". In general i think that everytime when _componentDidUpdate_ in react-helmet is called it change title to first visited title.

Expected behavior

I want to still have the current title of current page. That's all.

Most helpful comment

Ok, I don't know if this will be the case for the rest but I found out it was the Tawk.to widget in my site causing the issue. So I'm guessing it could be a third-party code/widget thing.

All 13 comments

I am facing a similar issue, the title is getting updated to the first visited page

I am also facing the same issue....Any resolution?

Same issue here...

I am having the same issue as well.

I am have the same issue. #521

Any update on this issue?

Same issue here.

I'm using Gatsby with React Helmet and whenever I switch to another tab and come back the (page) title tag changes to a previous title.

+1 same issue waiting for the fix.

Ok, I don't know if this will be the case for the rest but I found out it was the Tawk.to widget in my site causing the issue. So I'm guessing it could be a third-party code/widget thing.

Ok, I don't know if this will be the case for the rest but I found out it was the Tawk.to widget in my site causing the issue. So I'm guessing it could be a third-party code/widget thing.

I removed the widget and it seems to be issue with tawk.to widget thanks.

Thanks @net-caster! We are using Trengo widget and disabling it seems to fix it for us aswell.

@net-caster Thanks you saved my day

Is there a solution for this issue helmet side?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aequasi picture aequasi  路  3Comments

RichardJECooke picture RichardJECooke  路  4Comments

brianespinosa picture brianespinosa  路  3Comments

brokentone picture brokentone  路  4Comments

tiagonapoli picture tiagonapoli  路  3Comments