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(advanced-marker): apply marker class when rendering a Pin #384

Merged
merged 1 commit into from
May 27, 2024

Conversation

usefulthink
Copy link
Collaborator

@usefulthink usefulthink commented May 27, 2024

Previously, the AdvancedMarker would only apply the className prop to the content when custom html contents were specified, but there are some cases (applying css-animations to markers for example) where we also want the className to apply to markers that just contain a PinElement.

This also contains a rewrite and extension of the AdvancedMarker tests.

Fixes #374

Previously, the AdvancedMarker would only apply the className prop to the content when custom html contents were specified, but there are some cases (applying css-animations to markers for example) where we also want the className to apply to markers that just contain a PinElement.

This also contains a rewrite and extension of the AdvancedMarker tests.
@usefulthink usefulthink merged commit e8a4cc3 into visgl:main May 27, 2024
2 checks passed
@usefulthink usefulthink deleted the fix/advanced-marker-class branch May 27, 2024 16:41
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.

[Bug] AdvancedMarker className prop should also be applied when using a Pin instead of custom content
1 participant