I inherited parent component to child component using selector,at the parent component action bar replacing the child class action bar,how to solve this problem


#1

i inherited parent component to child component using selector,at the parent component action bar replacing the child class action bar,how to solve this problem


#2
  1. Please try to keep the title simple and meaningful
  2. Tag the post based on what platform you face issue / which framework you use
  3. Try to show some code

#3

Ok manoj , i am facing issue with child component action bar was replaced by parent component

parent component

<NavigationButton ios:visibility="collapsed" icon="res://menu" (tap)="onDrawerButtonTap()"></NavigationButton>

<ActionItem icon="res://navigation/menu" android:visibility="collapsed" (tap)="onDrawerButtonTap()" ios.position="left">
</ActionItem>
<Label class="contact-label" text="My Profile"></Label>

child component

<NavigationButton ios:visibility="collapsed" icon="res://menu" (tap)="onDrawerButtonTap()"></NavigationButton>

<ActionItem icon="res://navigation/menu" android:visibility="collapsed" (tap)="onDrawerButtonTap()" ios.position="left">
</ActionItem>
<Label class="contact-label" text="My Profile"></Label>
// parent component selector
<StackLayout row="0" col="0">
    <label text="&#xf084;" class="fa" ></label>