react-helmet icon indicating copy to clipboard operation
react-helmet copied to clipboard

Switch tabs change title to first visited

Open romanmuska opened this issue 5 years ago • 14 comments

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.

romanmuska avatar Jun 24 '19 13:06 romanmuska

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

KamleshArya avatar Jul 08 '19 18:07 KamleshArya

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

asifrahman001 avatar Nov 13 '19 09:11 asifrahman001

Same issue here...

favour121 avatar Dec 09 '19 18:12 favour121

I am having the same issue as well.

LucasClaude avatar Dec 10 '19 17:12 LucasClaude

I am have the same issue. #521

VanTy207 avatar Apr 05 '20 01:04 VanTy207

Any update on this issue?

stijnwesterhof avatar Jul 09 '20 14:07 stijnwesterhof

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.

net-caster avatar Jul 21 '20 17:07 net-caster

+1 same issue waiting for the fix.

p-rk avatar Jul 28 '20 16:07 p-rk

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.

net-caster avatar Jul 28 '20 18:07 net-caster

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.

p-rk avatar Jul 29 '20 04:07 p-rk

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

stijnwesterhof avatar Jul 29 '20 08:07 stijnwesterhof

@net-caster Thanks you saved my day

DevJett avatar Jul 30 '20 18:07 DevJett

Is there a solution for this issue helmet side?

albertcarrete avatar Oct 13 '20 16:10 albertcarrete

+1 for tawk.to issue

subalee avatar Feb 03 '21 14:02 subalee