New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Auto-position arrow #166
Conversation
@zombieJ look this |
Could you help to add a reproduce to tell which case is handle for? |
@zombieJ Any update on this? Fixes a certain issue for me, so would like it to get merged soon. |
LGTM |
@zombieJ any update on this one ? I could have look into that animation issue. |
@bedakb , welcome : ) |
i think that it's related to react-component/animate#38. It's fixed but available only in 3.0.0 :( |
@sooth-sayer , will update |
@zombieJ Ok, will wait :) |
@zombieJ and @sooth-sayer |
Resolve the conflict and going on~ |
conflicted |
@sooth-sayer Could you resolve conflicts? |
@afc163 看样子 @sooth-sayer 已经消失了,github完全不活跃,建议单独开个PR吧 |
…nto react-component-master * 'master' of https://github.com/react-component/tooltip: (50 commits) 5.1.1 feat: Support zIndex (react-component#258) fix less import path (react-component#257) Update README.md (react-component#251) 5.1.0 feat: motion conig support docs: add dumi badge chore: use dumi (react-component#240) chore: use actions (react-component#241) 5.0.2 Bump np from 6.5.0 to 7.1.0 (react-component#237) Update Tooltip.tsx (react-component#235) Add react and react-dom as peer dependencies Bump typescript from 3.9.7 to 4.0.3 (react-component#225) 5.0.1 chore: Father config @babel/runtime 5.0.0 chore: Use rc-trigger@5.x 4.2.2 chore: fix allowSyntheticDefaultImports define ...
* react-component-master: (50 commits) 5.1.1 feat: Support zIndex (react-component#258) fix less import path (react-component#257) Update README.md (react-component#251) 5.1.0 feat: motion conig support docs: add dumi badge chore: use dumi (react-component#240) chore: use actions (react-component#241) 5.0.2 Bump np from 6.5.0 to 7.1.0 (react-component#237) Update Tooltip.tsx (react-component#235) Add react and react-dom as peer dependencies Bump typescript from 3.9.7 to 4.0.3 (react-component#225) 5.0.1 chore: Father config @babel/runtime 5.0.0 chore: Use rc-trigger@5.x 4.2.2 chore: fix allowSyntheticDefaultImports define ...
Done |
arrowPlacement, | ||
domRef.current.getRootDomNode(), | ||
targetPlacement, | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to use https://github.com/yiminghe/dom-align in antd.
Codecov Report
@@ Coverage Diff @@
## master #166 +/- ##
===========================================
- Coverage 96.96% 41.93% -55.04%
===========================================
Files 3 4 +1
Lines 33 93 +60
Branches 12 31 +19
===========================================
+ Hits 32 39 +7
- Misses 1 54 +53
Continue to review full report at Codecov.
|
Any updates? Would be nice to have this merged |
Auto arrow position has been supported in antd 5.x now! ant-design/ant-design#40632 See https://ant.design/components/tooltip#components-tooltip-demo-shift |
No description provided.