Skip to content

getHoverActions(): return null when there are no actions

Warren Gifford requested to merge fix-get-hover-actions into master

Created by: lguychard

Fixes #4940 (closed)

Emitting an empty array instead of null when no actions are contributed trips up codeintellify's unpinning logic, causing empty hovers to remain pinned.

Test plan:

  • Unit tests verify that null is emitted when appropriate
  • Manually verified that hover overlay was unpinned by running through the scenario described in #4940 (closed)

Merge request reports

Loading