uView2.0 icon indicating copy to clipboard operation
uView2.0 copied to clipboard

u-tabs的active-style和inactive-style的fontSize不一样导致切换tab时line位置错误

Open chaos-zhu opened this issue 3 years ago • 1 comments

版本

2.0.33

重现步骤

  :active-style="{
    fontSize: '36rpx'
  }"
  :inactive-style="{
    fontSize: '28rpx'
  }"

line位置错误

image 切换第二个tab时位置移动不正确 image

期望的结果是什么?

正确显示位置

实际的结果是什么?

line位置错误

chaos-zhu avatar Sep 19 '22 03:09 chaos-zhu

出现了同样的问题,希望修复

webVictor avatar Oct 01 '22 16:10 webVictor

不要用 fontSize,用 transform: 'scale(1.2)'

HellsingMatt avatar Oct 26 '22 18:10 HellsingMatt

用了transform: 'scale(1.2)'还是时好时坏

BIGMONK avatar Apr 04 '23 02:04 BIGMONK