VisActor/VRender

[Bug] the poptip of text not show when the text has multiple lines

Closed this issue · 0 comments

Version

no

Link to Minimal Reproduction

no

Steps to Reproduce

{
    "x": 1055.2007962791886,
    "y": 37.38737803491827,
    "text": "123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432",
    "_originText": "123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432123456789098765432",
    "lineHeight": 20,
    "type": "text",
    "textAlign": "left",
    "textBaseline": "middle",
    "fontSize": 12,
    "fill": "#646A73",
    "fontWeight": "normal",
    "fillOpacity": 1,
    "fontStyle": "normal",
    "underline": false,
    "lineThrough": false,
    "lineClamp": 2,
    "maxLineWidth": 805.7992037208114,
    "whiteSpace": "normal",
    "heightLimit": 51.61262196508173
}

Current Behavior

no poptip, because text.clip() is undefined
img_v3_02em_43ce3a40-5504-4af7-bd56-51c502aef5dg

Expected Behavior

poptip can show when text is wrapped

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response