antvis / antvis/G2

g2的tooltip在安卓10的webview中报错

Open
#6,121 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

检查了一下发现大概是replaceChildren这个api在低版本chrome内核中不支持,我应该如何修改才能支持,用的是vue-cli生成的项目

### 重现链接

_No response_

### 重现步骤

_No response_

### 预期行为

_No response_

### 平台

- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]

### 屏幕截图或视频(可选)

![报错1](https://github.com/antvis/G2/assets/45706771/c5cbe924-a5ce-46e3-bfa5-777cead43a5e)
![报错2](https://github.com/antvis/G2/assets/45706771/4778ed80-7f66-4645-9bc1-8e88e0a95578)
![代码](https://github.com/antvis/G2/assets/45706771/2e84131c-3e13-4559-8917-7e4cd9d2b4fe)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the G2 tooltip implementation and the replaceChildren call identified in the report. Reproduce the error in an Android 10 WebView or equivalent older Chrome engine, then verify that the tooltip works there without the reported API error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.