Menu of MenuItem Not click when Touche Event Use!

Menu of MenuItem not click after AddChild on Sprite when use

auto listener = EventListenerTouchOneByOne::create();
listener->setSwallowTouches(true);
listener->onTouchBegan=CC_CALLBACK_2(MyClass::onTouchBegan,this);
listener->onTouchMoved=CC_CALLBACK_2(MyClass::onTouchMoved, this);
listener->onTouchEnded=CC_CALLBACK_2(MyClass::onTouchEnded, this);
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);

The Touches method call on touch Menu of MenuItem.

Hi,

I am adding a menuItem to a menu as a child and then adding that menu to a Sprite as a child. While I am performing a touch action on that menuItem that is not taking my click properly whereas using the same menuItem separately as a child to a menu (rather than adding the menu to a sprite) , is working properly.

Please suggest why menuItem is not taking the click when I am adding the parent menu to a Sprite?Please help…