Skip to content

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

Merged
jjallaire merged 1 commit into
mainfrom
fix/revealjs-commit-version
Sep 14, 2022
Merged

[revealjs] pin to commit hash version to get fix on slide scaling#2437
jjallaire merged 1 commit into
mainfrom
fix/revealjs-commit-version

Conversation

@cderv

@cderv cderv commented Sep 14, 2022

Copy link
Copy Markdown
Member

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

cscheid commented Sep 14, 2022

Copy link
Copy Markdown
Member

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

cderv commented Sep 14, 2022

Copy link
Copy Markdown
Member Author

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