primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.48k stars 4.6k forks source link

[Bug] SlideMenu submenu always display: none #2352

Closed luchillo17 closed 7 years ago

luchillo17 commented 7 years ago

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting

Plunkr Case (Bug Reports) Checkout this repo with develop branch, run npm start and check the left menu when clicking the 'Graphics' menu item: https://github.com/Luchillo/Luchillo-tech-showcase/tree/develop

Current behavior The class .ui-menu .ui-menu-parent .ui-menu-child forces always display: none on the subMenu ul element. (Check first 2 images attached).

Expected behavior Well, expected the subMenu to just show. (check last image attached after removing the display: none property from the subMenu's ul element).

Minimal reproduction of the problem with instructions

Please tell us about your environment: OS: Mac OS

Npm: 4.4.1

Aditional info First 2 images when transitionig from main menu to Graphics submenu, third one showing the expected result after finding the ul element and deactivating the display: none style. image

image

image

sudheerj commented 7 years ago

Can you please create simple plunker example instead of your github project(which has many other dependencies). Also can you please add step by step instructions to replicate.The above description is not bit clear.

cagataycivici commented 7 years ago

Unable to replicate, please provide a test case based on plunkr below and we'll review again.

http://plnkr.co/edit/Wj39h1?p=preview