VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] 使用图元 tooltip弹出层样式没有继承过来 样式还是默认白色背景

Open xiaoshengwpp opened this issue 1 year ago • 2 comments

Version

1.7.4

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/hrg96s?file=%2Fsrc%2FApp.tsx%3A71%2C1

Steps to Reproduce

使用图元 tooltip弹出层样式没有继承过来 样式还是默认白色背景

Current Behavior

使用图元 tooltip弹出层样式没有继承过来 样式还是默认白色背景

Expected Behavior

使用图元 tooltip弹出层样式没有继承过来 样式还是默认白色背景

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

xiaoshengwpp avatar Sep 11 '24 12:09 xiaoshengwpp

自定义图元是走的vrender 底层的逻辑 需要完全自定义的。 text 的 缩略提示需要配置poptip image

VRender/packages/vrender-components/src/poptip/type.ts at develop · VisActor/VRender

fangsmile avatar Sep 12 '24 09:09 fangsmile

自定义图元是走的vrender 底层的逻辑 需要完全自定义的。 text 的 缩略提示需要配置poptip image

VRender/packages/vrender-components/src/poptip/type.ts at develop · VisActor/VRender 加上poptip配置后没有生效

xiaoshengwpp avatar Sep 12 '24 13:09 xiaoshengwpp