Skip to content

[Bug]: listenerHost can be uninitialized in overlay-trigger-directive #5723

@lehelen19

Description

@lehelen19

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

overlay-trigger-directive

Library version

1.7.0

Expected behavior

No type errors when this line is run.

Actual behavior

We are seeing errors when an overlay trigger directive's reconnected hook runs and there isn't a listenerHost set in its overridden update(). We should potentially set this.listenerHost = this.target as its parent class does.

Screenshots

Image

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code or abstract reproduction which illustrates the problem

No response

Severity

None

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • Yes, please tell me the ticket number!

Metadata

Metadata

Assignees

Labels

Component: OverlaySEV 4Minor design flaw that affects UX, but no serious impact on overall usability or functionalitybugSomething isn't workingjira ticket createdTODO: Delete label once Jira integration is completetriageAn issue needing triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions