trigger icon indicating copy to clipboard operation
trigger copied to clipboard

Abstract React Trigger

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

Created flag for disable the trigger, remove useless code and change package.json`s license field.

… end up with an infinite loop. Had some issues with React saying `Uncaught Invariant Violation: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside...

I have the same requirement like this issue. https://github.com/react-component/trigger/issues/94 add an instance variable to access popup container. - [x] lint pass. - [x] test pass.

Using Trigger with `contextMenu` supports closing on window blur, in order to cover when a user clicks/taps on an iframe, but when we use `click` as a trigger, this was...

开放 target 对象

In some scenarios, we may want the context menu to remain displayed when the page scroll. For example, the context menu is longer than the viewport, and the user needs...

When recalculating nextOffsetY when popup goes beyond the viewport boundaries incorrect calculations occur. I see problems in these lines: https://github.com/react-component/trigger/blob/a73beef20376e3e32ecb918a0c1fbb0cdabb42f3/src/hooks/useAlign.ts#L313 https://github.com/react-component/trigger/blob/a73beef20376e3e32ecb918a0c1fbb0cdabb42f3/src/hooks/useAlign.ts#L327 Let's analyze each line separately. -------------------------------------------------------------------------------------- ```js nextOffsetX =...

please show some demo that how the porps: getDocument to use? thanks

[email protected] ( it is also existed on older version) AntD component [email protected] i've raised same issue on AntD [here](https://github.com/ant-design/ant-design/issues/39630), but i mostly feels it is rc-trigger which is not working...