-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Hi,
I was just debugging a little bit, because my header and tabs are missing the has(Header|Tabs)* classes. When I look into the IonContent.js this depends on the context.
('has-header': this.context.ionHasHeader)
However, this context is never (nowhere) set as far as I can see. E.g. in IonNavBar component mount there is the:
this.context.ionUpdateHasX('ionHasHeader', true);
Behind this there is a function in IonBody that just sets the state in IonBody:
this.setState({ [hasX]: value });
In the end the state of IonBody seems correct, however the context is never provided in any child component.
Could this be a bug?
Best,
Carsten
Metadata
Metadata
Assignees
Labels
No labels