trigger
trigger copied to clipboard
Abstract React Trigger
In the example below, I have Popover that contains Select (from react-select). If Popover trigger is set to "click", then trying to select elements in the drop-down list as well...
How can I close the trigger popup on the external click, there is a use-case in code Here is the code. ``` Close trigger } popupAlign={{ points: ["tl", "cr"], offset:...
「 status 为什么卡在 align, 没完成 measure -> align -> motion -> stable 流转」 的原因没有找到; mergedStyle 的 opacity 判断似乎有误。 ` var mergedStyle = _objectSpread(_objectSpread(_objectSpread({}, stretchStyle), {}, { zIndex: zIndex }, style),...
If I want to use it as a validation message feedback, how can I trigger show and hide via code?
[复现方式](https://codesandbox.io/s/recursing-hertz-mvd5o?file=/src/App.tsx) [问题代码](https://github.com/react-component/trigger/blob/master/src/Popup/PopupInner.tsx#L120-L126) 可能是由于 react 18 中新增的 [Automatic batching](https://github.com/reactwg/react-18/discussions/21) 特性导致的
I have a website where I am using Ant Design a lot and there are a few pages where so many popups and tooltips are used. Some of them are...
in StrictMode, getContainer has side effect, duplicated div will be attached to Dom, please fix it.
let see the code bellow. In strict mode and dev environment, getContainer will be called twice, so double div will be attached to Dom, if we enable autoDestory, only one...
 ## remove the transform-origin: 50% 50% will remove this issue. reproduce Step: making the setting like screenshot and then click and unclick, then if no focus element change, issue...
Checking goNextStatus() in useVisibleStatus.ts, the source code look like this, for the **switch** condition, should we use **prev** instead of **status**? function goNextStatus(callback?: () => void) { cancelRaf(); rafRef.current =...
findDOMNode is deprecated in StrictMode but trigger still uses it. react version: 16.9.0. Using findDOMNode will cause below Warning: ``` Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an...