You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
ok, I think I got it. You set the state of the IonBody that reactively updates the entire context.
Unfortunately my context still does not update in the underlying components at least when I use the meteor 'meteor/react-meteor-data'.
The context seems to get lost somehow during:
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
The text was updated successfully, but these errors were encountered: