Enterprise: Application Menu: Line under the Tab label is misaligned

Created on 18 Nov 2019  路  15Comments  路  Source: infor-design/enterprise

Describe the bug
when switching themes, the Line under the Tab label is misaligned.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'http://4230-rc0-enterprise.demo.design.infor.com/components/applicationmenu/example-personalized-role-switcher.html'
    or
    http://4230-rc0-enterprise.demo.design.infor.com/components/applicationmenu/example-personalized-roles.html
    or
    http://4230-rc0-enterprise.demo.design.infor.com/components/applicationmenu/example-personalized.html
  1. Click on 'My Password' Tab
  2. Switch themes between Subtle and Vibrant
  3. Notice that the line under the TAB's label is misaligned

Expected behavior
The line under the 'Tab' label should be aligned

Version
4.23 rc0

Screenshots
image

Platform
ALL

Additional context
Example pages affected

[2] cant reproduce type

All 15 comments

I cannot seem to reproduce this issue following the steps. I'm seeing the tab resize correctly still hen changing the theme.

Please see GIF below for reference.

Large GIF (1080x316)

Does the browser matter? Im not seeing this in chrome.

The issue exist across all browsers. My chrome version is
Version 78.0.3904.97 (Official Build) (64-bit)
I update my chrome browser to Version 78.0.3904.108 (Official Build) (64-bit) but still the issue persist
image

image

image

image

The issue is also present in sink page 4.23 rc1

image

This is really strange, i am totally not seeing this and also on chrome. You dont have any errors in the console do you? @EdwardCoyle @deep7102 can you reproduce?

I did add code in the theme switcher to handle this. So when i do change them i see the indicator slide over after a second when changing theme and then it looks fine. See it resizing on all tabs examples like http://4230-rc0-enterprise.demo.design.infor.com/components/tabs/example-index.html?theme=uplift&variant=light&colors=0563C2

I tested in a few local browsers, and IE11 on Browserstack. I'm not seeing this issue at all.

@jbrcna for reference, this is what it should be doing (and what we're seeing):

Untitled_-Nov-20-2019-9_40-AM

I can't understand what would be causing this in every browser you're looking at, unless maybe we had a bad build deploy? Not sure that would be the case either because I'm also not seeing it in the RC1 build.

Maybe clear cache? Or something with a Slow connection? Thing is that it fires the resize after the style sheet is loading so wondering if some timing issue. But havent seen this NOT working on my end

Same, can not reproduce this on my end.

Thank you for your responses. are you using windows pc? not sure if this is a factor but I'm using macOS Mojave Version 10.14.6 (18G1012)

I can also replicate the issue in all of my browsers (Mac Chrome, Safari, Firefox) and Windows browsers using browserstack. I also noticed that the misalignment gets corrected after resizing the browsers. Please see GIF below. It's strange that you can't replicate it.

http://4230-rc2-enterprise.demo.design.infor.com/components/applicationmenu/example-personalized-roles.html
Mac Google Chrome:
tab-misaligned

Wierd, i did see it once only on Windows 10 - Firefox 7.0
Tried a bunch of combinations but i do have one idea. I'm pushing a fix.

Has to be a timing issue.

Test PASSED
Verified in http://master-enterprise.demo.design.infor.com/components/tabs/example-index.html?theme=uplift&variant=light&colors=2578a9
across ALL browsers

I just noticed that when you resize the browser to 320x568 then click Notesand from subtle switch to vibrant theme the Notes tab is kinda hidden ( just a little ) though you can just swipe to left to see it fully so im not sure if this is a bug.
Large GIF (1096x446)

@jbrcna the behavior your noting with the overflow is by design. If the tabs all dont fit they overflow like this. Since the vibrant theme has a bigger font the tabs are not the same size so they may not all fit at low breakpoints.

Thanks @tmcconechy for clarifying. taking note of this.

Was this page helpful?
0 / 5 - 0 ratings