mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(title): large title now inherits global color styling during nav transition (#20862)
This commit is contained in:
@@ -126,7 +126,8 @@ export class Header implements ComponentInterface {
|
||||
this.scrollEl!.addEventListener('scroll', this.contentScrollCallback);
|
||||
|
||||
writeTask(() => {
|
||||
cloneElement('ion-title');
|
||||
const title = cloneElement('ion-title') as HTMLIonTitleElement;
|
||||
title.size = 'large';
|
||||
cloneElement('ion-back-button');
|
||||
|
||||
if (this.collapsibleMainHeader !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user