Enterprise: Application Menu is unexpectedly closing when clicking headers in the mobile breakpoint

Created on 30 Jul 2018  路  6Comments  路  Source: infor-design/enterprise

Originally reported by @vonnyw

Describe the bug
When an application menu is open below the mobile breakpoint threshold, and one of its accordion headers is clicked, the menu is closing unexpectedly -- even if the dismissOnClickMobile setting is set to false.

To Reproduce
Steps to reproduce the behavior:

The Application menu is unexpectedly closing.

Expected behavior
The Application menu should remain open.

Videos
See the webm file here for a video displaying the issue:
application-menu-close-premature.webm.zip

Platform(s) n/a

Additional context
After some troubleshooting we discovered that the first condition on [this line] (https://github.com/infor-design/enterprise/blob/master/src/components/applicationmenu/applicationmenu.js#L430) in the App Menu is showing e.target being the body tag. This value should be represented as an a or .accordion-header element, and should not the body tag. Possible things to check:

  • pointer-events: none; CSS rule on something inside the app menu where it shouldn't be?
[3] critical type

All 6 comments

I'm also running into this same issue while conducting smoke testing.

@clepore @theakatz due to the critical tag, should we add this one to the July sprint for fixing? I might be able to track it down and get it fixed today.

Yes we think so

Closing this, it's landed in 4.9.0

Was this page helpful?
0 / 5 - 0 ratings