We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
打开popup后,调用方法获取ref,返回的popupRef.current不是最新的,全是null
arco-design-mobile/packages/arcodesign/components/popup/index.tsx
Line 69 in d4f1119
建议调整写法:
useImperativeHandle( ref, () => ({ get dom() { return maskingRef.current?.dom ?? null; }, get content() { return maskingRef.current?.content ?? null; }, get mask() { return maskingRef.current?.mask ?? null; }, setCloseScene(scene: string) { maskingRef.current?.setCloseScene(scene); }, }), [], );
类似的问题还有很多:
arco-design-mobile/packages/arcodesign/components/avatar/group.tsx
Lines 37 to 39 in d4f1119
arco-design-mobile/packages/arcodesign/components/avatar/index.tsx
Lines 51 to 53 in d4f1119
The text was updated successfully, but these errors were encountered:
TinaPeach
No branches or pull requests
Basic Info
打开popup后,调用方法获取ref,返回的popupRef.current不是最新的,全是null
arco-design-mobile/packages/arcodesign/components/popup/index.tsx
Line 69 in d4f1119
建议调整写法:
类似的问题还有很多:
arco-design-mobile/packages/arcodesign/components/avatar/group.tsx
Lines 37 to 39 in d4f1119
arco-design-mobile/packages/arcodesign/components/avatar/index.tsx
Lines 51 to 53 in d4f1119
.....
The text was updated successfully, but these errors were encountered: