ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ui5-shellbar: menuPopover is undefined

Open JarrettChan opened this issue 3 years ago • 2 comments

Bug Description

If the _handleResize is never triggered, then this.menuPopover is never initialized, and when clicking an item in the menu it fails on this.menuPopover.close(). The menuPopover does not close and the expected action is not triggered. The overflowPopover is probably also affected, but not reproducible on the same page because it has a min-width.

This occurs most of the time on one of our pages.

Expected Behavior

Consistent access to menuPopover and overflowPopover.

Steps to Reproduce

  1. SuccessFactors Compensation page in qa env
  2. Open menuPopover
  3. Click item Observe: nothing happens

Context

  • UI5 Web Components version: 1.1.1
  • OS/Platform: macOSX 12.1
  • Browser: Chrome
  • Affected component: ui5-shellbar

Priority

  • [x] Low
  • [ ] Medium
  • [ ] High
  • [ ] Very High

The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:

  • Breaks entire application or system - High or Very High
  • Accessibility issue - Medium or High
  • Functional issue - Medium or High
  • Visual issue - Low or Medium

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

  • Organization: SuccessFactors
  • Business impact: {...}

JarrettChan avatar Feb 08 '22 20:02 JarrettChan

Hello @JarrettChan please provide clear reproducible steps, ideally with pure ui5 web components, using the CodeSandbox https://codesandbox.io/s/71r1x5o51q or at least providing url to the page (if internal information is required - you can use the private Slack channel)

ilhan007 avatar Feb 09 '22 10:02 ilhan007

@ilhan007 I have added reproduction steps to the private Slack channel. https://sap-successfactors.slack.com/archives/CTHEMAZ8C/p1644428265547629

JarrettChan avatar Feb 10 '22 01:02 JarrettChan

Since the issue could not be reproduced anymore I am closing the issue.

Regards, Martin

MapTo0 avatar Oct 28 '22 08:10 MapTo0