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(background): avoid to cover the other plugin's dom, eg grid-line #6623

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

TZZack
Copy link
Contributor

@TZZack TZZack commented Dec 10, 2024

Background

There is a situation that if grid-line behind background plugin, the background plugin's dom will cover the grid-line plugin's dom and then the grid-line will not be seen.
image

Fix

This PR will set zIndex attr of background plugin's dom to -1 so we can make sure that the background's dom is at the back of same level
image

@Aarebecca Aarebecca merged commit 78575a6 into antvis:v5 Dec 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants