Skip to content
New issue

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

fix: 修复自定义 tooltip 时, 刷选时无法获取到单元格信息 #2738

Merged
merged 1 commit into from
May 24, 2024

Conversation

lijinke666
Copy link
Member

👀 PR includes

🐛 Bugfix

  • Solve the issue and close #0

📝 Description

const s2Options = {
  tooltip: {
	  dataCell: {
	    content(cell, defaultTooltipShowOptions) {
	      console.log(cell, defaultTooltipShowOptions);
	
	      return null;
	    },
	  },
  }
}

🖼️ Screenshot

Before After
image image

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) May 23, 2024 6:45am

@github-actions github-actions bot added next 2.0-next 版本的问题 pr(fix) bug fix labels May 23, 2024
Copy link
Contributor

Size Change: +25 B (+0.01%)

Total Size: 321 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 224 kB +25 B (+0.01%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/style.min.css 402 B
./packages/s2-react/dist/index.min.js 69.4 kB
./packages/s2-react/dist/style.min.css 3.92 kB
./packages/s2-vue/dist/index.min.js 21 kB
./packages/s2-vue/dist/style.min.css 1.99 kB

compressed-size-action

@wjgogogo wjgogogo enabled auto-merge (squash) May 24, 2024 07:47
@wjgogogo wjgogogo merged commit 782a2fc into next May 24, 2024
12 of 13 checks passed
@wjgogogo wjgogogo deleted the fix-brush-miss-target-cell branch May 24, 2024 07:57
@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-v2.0.0-next.22 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next 2.0-next 版本的问题 pr(fix) bug fix released on @next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants