mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
This commit is contained in:
@ -87,6 +87,10 @@ export class StackManager extends React.Component<StackManagerProps, StackManage
|
||||
ref: this.routerOutletEl
|
||||
};
|
||||
|
||||
if(ionRouterOutlet.props.forwardedRef) {
|
||||
ionRouterOutlet.props.forwardedRef.current = this.routerOutletEl;
|
||||
}
|
||||
|
||||
if (isDevMode()) {
|
||||
elementProps['data-stack-id'] = this.id;
|
||||
}
|
||||
@ -99,4 +103,4 @@ export class StackManager extends React.Component<StackManagerProps, StackManage
|
||||
static get contextType() {
|
||||
return RouteManagerContext;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user