Skip to content

[revealjs] pin to commit hash version to get fix on slide scaling #2437

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

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Sep 14, 2022

Current version use zoom attributes which messes up JS lib like plotly. This new version using scale() transform only.

This fixes #2430

Steps were

  • Set commit hash in configuration file
  • Adapt update-html-dependencies for reveal to use commit instead of tags
  • Run quarto-bld.cmd update-html-dependencies
  • Only kept RevealJS update in the PR (as other deps were also updated).

Tested using version built with ./configure.cmd using example in the issue. The tooltip issue disappeared.

I made a PR so that it is easier to test, I don't know if we want to update to a commit, or wait for a next release of Revealjs.

Feel free to dismiss if it is not desired now.

… JS lib

Current version use `zoom` attributes which messes up JS lib like plotly. This new version using `scale()` transform only.

Fixes #2430
@cderv cderv requested a review from jjallaire September 14, 2022 09:51
@jjallaire jjallaire merged commit 61786d5 into main Sep 14, 2022
@cderv cderv deleted the fix/revealjs-commit-version branch September 14, 2022 11:51
@cscheid
Copy link
Collaborator

cscheid commented Sep 14, 2022

This is probably going to fix our mermaid tooltips issue as well!! <3

@cderv cderv removed the request for review from jjallaire September 14, 2022 16:21
@cderv
Copy link
Collaborator Author

cderv commented Sep 14, 2022

Cool ! hopefully this revealjs change will solves tooltip issue for all the JS lib in revealjs slides 😄

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.

With revealjs, plotly tooltip not aligned correctly
3 participants