A comprehensive React UI components library based on Arco Design
Home Page:https://arco.design
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
qmetest opened this issue 8 months ago · comments
代码逻辑,Popover 使用的是 Tooltip 的组件,传递给 Tooltip 的content 为 即使 title 和content 都为空, Tooltip isEmpty 方法也不会判断空,内部就无法自动设置 popupVisible 为false, 感觉可以在 Popover 传递 content 的地方处理下
不然对于业务场景,很多情况下,还需要手动判断下 content 是不是为空,来隐藏掉弹出框