antvis / antvis/LarkMap

🐛 [BUG]

Open
#181 0 comments 0 reactions 1 assignee Claimed by @heiyexing View on GitHub
Dominant language
TypeScript
Stars
87
Forks
34
PR merge metrics
No merged PRs in 30d

Description

### 🐛 React 18 + StrictMode 下, LayerPopup不显示

- 直接测试的这个的范例代码:https://larkmap.antv.antgroup.com/components/layer-popup

### 📷 Step to reproduce
1. 创建默认的React 18 应用
2. 拷贝范例代码并替代 App.tsx

### 🏞 Expected result
鼠标移到区域上后,不显示图层信息框

### 🚑 Any additional [like screenshots]
将main.tsx中 注释后,就能显示图层信息框了
`ReactDOM.createRoot(document.getElementById('root')!).render(`
` // `
` `
` // ,`
`)`

- **LarkMap Version**:
"@antv/l7": "^2.17.7",
"@antv/larkmap": "^1.4.1",
- **Platform**:
"react": "^18.2.0",
"react-dom": "^18.2.0"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.