primeng icon indicating copy to clipboard operation
primeng copied to clipboard

TabView: Lower border disappears on lower zoom

Open Khousheish opened this issue 3 years ago • 10 comments

Describe the bug

if you zoom out on a page that contains tabs, the lower border and active indicator disappear.

Environment

Nothing special, Angular.

Reproducer

https://stackblitz.com/edit/github-ubg2ne

Angular version

16.0.4

PrimeNG version

16.0.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.16.0

Browser(s)

Chrome 115 specifically but what I can see all browsers

Steps to reproduce the behavior

  1. go to the attached stackblitz application URL or the primeng tabview page URL.
  2. Zoom out (80 or 90%).
  3. Observe as the bottom border disappears.

Expected behavior

The bottom border is visable as well as the highlight.

Khousheish avatar Sep 01 '23 09:09 Khousheish

Any update on this? We need to know how to move forward.

Khousheish avatar Sep 14 '23 11:09 Khousheish

Facing the exact same issue and we would love to know when we can expect a fix.

ashsk46 avatar Sep 15 '23 08:09 ashsk46

Saw something while trying to reproduce:

  • Could not reproduce on a hidpi monitor scaled to 1.75x (bottom border remains visible when web page is scaled to any value)
  • Bottom border indeed disappears on normal monitor (1x) when web page is scaled to 90%
  • Bottom border re-appears when scaled down below 90%

All in Firefox.

remcokranenburg avatar Sep 15 '23 09:09 remcokranenburg

Might be related: the lower border of the items gets thiner with windows recommanded screen scaling (125%).

Visible in the demo at https://primeng.org/tabview#template

nicolasnevraumont avatar Sep 29 '23 06:09 nicolasnevraumont

No one answered it? Was it not taken care of?

chsh3280 avatar Jan 21 '24 10:01 chsh3280

Hi @chsh3280 we just recently upgraded to v17 and it seems that it got fixed. It is not reproducible anymore from our side or from the official PrimeNG website. https://primeng.org/tabview

Khousheish avatar Jan 21 '24 14:01 Khousheish

Closing as it got fixed in v17.

Khousheish avatar Jan 21 '24 14:01 Khousheish

I look at the tabs on the site, reduce the resolution to 90% and I don't see the border on the tabs. I have attached a photo pic

chsh3280 avatar Jan 21 '24 14:01 chsh3280

Screenshot 2024-01-21 at 15 24 59 That is weird 😅 as you can see from my side it seems fine. Maybe its based on the laptop, chrome version, aspect ration or resolution. No idea where to even start investigating this...

Khousheish avatar Jan 21 '24 14:01 Khousheish

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding! Best Regards,

mehmetcetin01140 avatar Dec 16 '24 11:12 mehmetcetin01140