Skip to content

Commit

Permalink
fix(popup): overlayEl 未绑定, 第一次点开无法定位到选中项 (#3189)
Browse files Browse the repository at this point in the history
closed #3183
  • Loading branch information
AuYuHui authored Aug 4, 2023
1 parent 54ee989 commit 63f2a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export default defineComponent({
},
props.overlayInnerClassName,
]}
ref={(ref: HTMLElement) => (overlayEl.value = ref)}
ref={overlayEl}
onScroll={handleOnScroll}
>
{content}
Expand Down

0 comments on commit 63f2a4b

Please sign in to comment.