We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f2cb0 commit 91fdf37Copy full SHA for 91fdf37
src/packages/collapseitem/collapseitem.taro.tsx
@@ -59,6 +59,7 @@ export const CollapseItem: FunctionComponent<
59
const contentRef: any = useRef(null)
60
const uid = useUuid()
61
const target = `nut-collapse-content-${uid}`
62
+ console.log('oasistarget', target)
63
64
const expanded = useMemo(() => {
65
if (context) {
src/utils/get-rect-by-taro.ts
@@ -34,6 +34,7 @@ export const getRectByTaro = async (
34
// 小程序下的逻辑
35
return new Promise((resolve, reject) => {
36
createSelectorQuery()
37
+ .in(element)
38
.select(`#${harmonyId || element.uid}`)
39
.boundingClientRect()
40
.exec(([rects]) => {
0 commit comments