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

Interactions and static tips not possible with jsdom renderer #16

Open
juba opened this issue May 26, 2023 · 2 comments
Open

Interactions and static tips not possible with jsdom renderer #16

juba opened this issue May 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@juba
Copy link
Owner

juba commented May 26, 2023

For the moment "static" plots generated as HTML or SVG by the jsdom renderer cannot have pointer interactions.

@juba juba changed the title Pointer interaction not possible with jsdom renderer Interactions not possible with jsdom renderer Jun 6, 2023
@harrylojames
Copy link
Contributor

Hi @juba,

Thank you for adding this issue.

If the typst renderer is added this issue will mean that plots such as this can't be exported to png etc.. I encountered this today whilst testing the pull request and can see others encountering this more frequently once exporting to png requires using the jsdom/typst renderer. Not sure what this would involve to fix but would getting static annotations with the tip mark to work require the same changes?

FYI @wirhabenzeit in reply to your comment on the PNG issue about what features are supported

@juba juba changed the title Interactions not possible with jsdom renderer Interactions and static tips not possible with jsdom renderer May 19, 2024
@juba
Copy link
Owner Author

juba commented May 19, 2024

Indeed, you're right, as static annotations use the same mark as dynamic tips, they are not supported by the jsdom renderer. This may be because jsdom doesn't support pointer interactions,

Unfortunately I'm not sure what I may do about it.

@juba juba added the bug Something isn't working label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants