Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

while reusetabs can't read <PageTitle> content as tab header? #3

Open
coader opened this issue May 3, 2022 · 7 comments
Open

while reusetabs can't read <PageTitle> content as tab header? #3

coader opened this issue May 3, 2022 · 7 comments

Comments

@coader
Copy link

coader commented May 3, 2022

Counter

now only use url path as header by default , but it's always not what user want

@ElderJames
Copy link
Member

@ElderJames
Copy link
Member

@ElderJames
Copy link
Member

I didn't think there was any way to get the title in , except to implement one myself, do you have any suggestions?

@NilkOne
Copy link

NilkOne commented May 6, 2022

Hello,

Actually, when user change (inside app) tab selection, the PageTitle of the tab browser stay "AntDesign ReuseTabs".

Is it possible that the PageTitle of the tab browser change and take into account the PageTitle tag when user change tab selection ?
<PageTitle>Home</PageTitle>
<PageTitle>Counter</PageTitle>
<PageTitle>Fetch data</PageTitle>

That works when you click on NavLink but not when you click on ReuseTab.

@coader
Copy link
Author

coader commented May 6, 2022

I make a mistake, tab header should not the same as page title, it's my fault, SPA will always keep page title and not change when switch tab

@NilkOne
Copy link

NilkOne commented May 6, 2022

ok np @coader, but how to deal with ReuseTab if I don't want an SPA but an hybride app (beetween SPA and MPA) ?
in order to create a PWA that can open some page in separate window ?

@ElderJames
Copy link
Member

Hello @NilkOne , you can use iframe.

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

No branches or pull requests

3 participants