nebular icon indicating copy to clipboard operation
nebular copied to clipboard

NbActionComponent with nbTooltip and nbContextMenu Does Not Render Tooltip

Open dapperdandev opened this issue 3 years ago • 2 comments

Issue type

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

  • [x] bug report
  • [ ] feature request

Issue description

NbActionComponent doesn't render nbTooltip when nbContextMenu is present

Current behavior: Hovering over an action with a tooltip and a context menu doesn't show the tooltip

Expected behavior: Hovering over an action with a tooltip should render the tooltip whether or not the action contains a context menu

Steps to reproduce: Refer to the related code

Related code:

    <nb-action class="control-item settings-menu"
               icon="settings-2-outline"
               nbTooltip="Settings"
               [nbContextMenu]="settingsMenu">
    </nb-action>

Other information:

npm, node, OS, Browser

<!--
Node, npm: 14.18.3 and 6.14.15
OS: Windows 10
Browser: Edge (Chromium)
-->

Angular, Nebular

Angular: 13.2.2
Nebular: 9.0.1

dapperdandev avatar Feb 16 '22 18:02 dapperdandev

I can confirm this issue. In my case it's the other way around, nbContextMenu is not rendered when nbTooltip is present

DiegoAndresCortes avatar Apr 11 '24 23:04 DiegoAndresCortes