react-component / tooltip

React Tooltip
http://react-component.github.io/tooltip/
MIT License
924 stars 188 forks source link

'visible' parameter will affect the normal work of the 'placement' parameter #452

Open lx70770 opened 1 year ago

lx70770 commented 1 year ago

`const ToolTip: React.FC = (props) => { const { title, placement, showArrow = true } = props

return <RcTooltip overlay={title} visible={true} showArrow={showArrow} placement="bottomRight" />

}`

if placement="bottomRight" and visible=true, tooltip will show at the top.

lx70770 commented 1 year ago

It will only be reproduced in the v6 version

yoyo837 commented 1 year ago

Reproduce link please?