VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Feature] scrollbar 宽度占用空间优化

Open xxxace opened this issue 8 months ago • 2 comments

What problem does this feature solve?

theme: {
    scrollStyle: {
      scrollRailColor: 'RGBA(216,216,216,.5)',
      visible: 'always',
      width: 16,
      hoverOn: false,
      barToSide: true,
      scrollSliderCornerRadius: 0,
      scrollSliderColor: 'RGBA(170,170,170,1)',
    }
}

当hoverOn: false时,高度够的情况下,scrollbar是隐藏的(正常),但是scrollbar的宽度依然占用(不正常)

Image

当hoverOn: true时, 出现的scrollbar会遮挡住内容

Image

What does the proposed API look like?

个人认为无需修改api,只需在渲染时对scrollbar的宽度和布局进行优化

非常感谢

xxxace avatar Apr 15 '25 07:04 xxxace

感谢你的反馈! 如果有开发者对这个 issue 感兴趣,请在issue下方留言“认领该issue”,留言后开始你的创作提pr给我们! 欢迎大家参与开源共建!我们非常感激每一位贡献者,提交pr后我们将为参与共建的开发者准备一份礼品。 参与共建可参考:https://visactor.io/vtable/guide/Contribution_Guide 与官方开发者交流问题可以下载飞书app扫码加入飞书群: 飞书20241029-170312 再次感谢你的支持!

Thank you for your feedback! We have received your question and will deal with it later. If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction! We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction. For participation in co-construction, please refer to: https://visactor.io/vtable/guide/Contribution_Guide To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group! Thank you again for your support!

fangsmile avatar Apr 17 '25 02:04 fangsmile

认领该issue

xxxace avatar Apr 19 '25 01:04 xxxace