infor-design / enterprise-ng

Angular wrappers for IDS Enterprise components
Apache License 2.0
56 stars 83 forks source link

Module Nav: Switcher button does not show tooltip when is set to collapsed mode #1678

Closed Abrai7 closed 2 weeks ago

Abrai7 commented 4 months ago

Describe the bug When the module nav is set to collapsed mode the tooltip message is not shown on the first try. If the user changes the component to expanded mode and back again to collapsed it will be shown.

To Reproduce Steps to reproduce the behavior:

  1. Go to (https://stackblitz.com/edit/ids-quick-start-1711-vxbtdi?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html
  2. Hover over 'Em' button (No message is displayed)
  3. Click twice on 'Em' Button
  4. Message is displayed

Expected behavior The tooltip should be displayed in collapsed mode, expanded mode should not be needed.

Version

Screenshots Before:

image

After: image

Platform Browser Name: Chrome Browser Version: Version 123.0.6312.106 (Official Build) (64-bit)

Additional context N/A

tmcconechy commented 4 months ago

For new implementations the new web component version might be better to use the new web component https://github.com/infor-design/enterprise-wc/tree/main/src/components/ids-module-nav/demos it has an easier markup based setup and maybe doesnt have this bug

tmcconechy commented 3 months ago

@Abrai7 trying it here https://main-enterprise.demo.design.infor.com/components/module-nav/example-index.html?colors=fff seems ok, do you agree?

I couldn't get the example running right now to cross check. But thought i would mention it

Abrai7 commented 3 months ago

@tmcconechy Yes, that seems correct.