trigger icon indicating copy to clipboard operation
trigger copied to clipboard

Abstract React Trigger

Results 75 trigger issues
Sort by recently updated
recently updated
newest added

I'm using the `rc-tooltip` package which has `rc-trigger` as a dependency. On certain occasions, and I don't know why, my application totally crashes because on line 99 of `Popup.js`, `_this.alignRef.current.forceAlign()`...

I am trying to use rc-trigger on my app , all my config is fine but triggered dom was not rendering. On further debugging I found the styles were missing...

By reviewing `attachParent` method: https://github.com/react-component/trigger/blob/89eefdb148ee68e4bbfe5b5b2887ceaff6b2e42c/src/index.tsx#L572-L590 that means `getPopupContainer` is able to return falsy value exactly "in case parent not ready". but it is blocked by strict typings: https://github.com/react-component/trigger/blob/89eefdb148ee68e4bbfe5b5b2887ceaff6b2e42c/src/index.tsx#L75 may I...

首先看这个示例: https://codesandbox.io/s/cool-tree-2j0rm?file=/src/App.js 没有消失动画,去掉`autoDestroy`就有了。 其实都是和 https://github.com/ant-design/ant-design/issues/28151 这个有关的。 总而言之,就是没有正确实现`afterVisibleChange`。 destroy应该在完全消失动画结束后的,也就是afterVisibleChange(false)的时候。 看index.tsx中这段代码: ```tsx let portal: React.ReactElement; // prevent unmounting after it's rendered if (popupVisible || this.popupRef.current || forceRender) { portal = ( {this.getComponent()}...

IE和edge鼠标移入 svg时会触发onMouseLeave导致 下拉弹窗异常关闭 具体代码,使用"antd": "4.7.3" `ReactDOM.render( e.preventDefault()}> Cascading menu , document.getElementById("root") );` 具体步骤,无法复现的话鼠标点击那个红圈 然后鼠标反复移入移除

**Behaviour:** When using rc-trigger (eg. via Ant Design's `Dropdown`) with a `click` type of trigger, the popup will not be closed if a user clicks or taps on an iframe...

Steps to reproduce: 1. Simple demo: http://react-component.github.io/trigger/examples/simple.html 2. placement = bottom left ; stretch = width / winWidth ; trigger = [ click ] 3. Click test area to trigger...

Getting this error on the latest alpha (`4.0.0-alpha.5`): ``` Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()? Check...

Pretty much what the title says. I'm on version 4.0.0-alpha.7. Given an element like this: ```jsx Test ``` And a style like the fade animation from rc-animate's examples. Or even...

version: 4.0.0-alpha.5 install from npm, the package is different with github version from npm: ![image](https://user-images.githubusercontent.com/12714985/68564545-dcd2f700-048b-11ea-8fbb-e19f510ce91b.png) **** but in github version: ![image](https://user-images.githubusercontent.com/12714985/68564608-10ae1c80-048c-11ea-86a8-895d0439ef86.png)