You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue you're experiencing with the Ellipsis component's on-hide callback not being triggered might be related to how the component calculates whether the text exceeds the specified height. The on-hide event is emitted when the text content's height exceeds the specified height limit [1].
To troubleshoot this, ensure that the height of the Ellipsis component is set correctly and that the text indeed exceeds this height. If the text does not exceed the specified height, the on-show event will be triggered instead [1].
If the issue persists, you might want to check if there are any CSS styles affecting the component's height or if there are any other conditions in your environment that might affect the height calculation.
Environment
win11/Google Chrome127.0.6533.100
Reproduction link
https://run.iviewui.com/
Steps to reproduce
https://www.iviewui.com/view-ui-plus/component/layout/ellipsis 点击 “在 Playground 中打开” 输入以下代码:
What is expected?
触on-hide发事件
What is actually happening?
触on-show发事件
The text was updated successfully, but these errors were encountered: