Open tanchangde opened 1 year ago
I am running Version 114.0.1823.67
and can't see this. I tried you step, and even deactivated cache using Devtools console.
I am using pre-release 1.4 version though. Could you try it ?
Also, can you share online maybe your presentation (on https://quartopub.com/ ? ) so that we try with the same version ?
Hello, I'm currently unable to upload files to https://quartopub.com/, so I'm providing a link to the file on Google Drive:
https://drive.google.com/file/d/17ImDkWhHnaYiECP3HTO9ExevDqRgmRtH/view?usp=drive_link
I am using pre-release 1.4 version though. Could you try it ?
Thank you for your suggestion, I will give it a try tomorrow my time.
I couldn't find the pre-release version 1.4 that you mentioned at Releases · quarto-dev/quarto-cli. Could you provide a more specific version number to ensure we are using the same version?
The link you provided is ok. Last pre-release is 1.4.205, but it moves quickly as we build some daily. So it is this one right now. You can find the latest also at https://quarto.org/docs/download/prerelease.html
Hello, I've replicated this issue in Quarto 1.4.205.Today my environment for reproducing the bug is slightly different, so please pay attention to the following 'quarto check' information.
The key to reproducing the issue might be pressing the o
key to enter the overview mode, then using the arrow keys to navigate back and forth a few times. When you encounter a slide that includes echarts4r output (which I'll refer to as an echarts4r slide) and observe the chart being scaled, press the o
key again. Then, whether transitioning from the slide before the echarts4r slide into the echarts4r slide, or exiting the overview mode directly on the echarts4r slide, anomalies will appear. The former case corresponds to the anomaly captured in the screenshot I provided when reporting the bug earlier, while the latter results in scaling towards the upper-left corner.
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.5: OK
Dart Sass version 1.55.0: OK
Deno version 1.33.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.205
Path: C:\Users\tanchangde\AppData\Local\Programs\Quarto\bin
CodePage: 936
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.3.1
Path: C:/PROGRA~1/R/R-4.3.1
LibPaths:
- C:/Users/tanchangde/AppData/Local/R/win-library/4.3
- C:/Program Files/R/R-4.3.1/library
knitr: 1.43
rmarkdown: 2.23
[>] Checking Knitr engine render......OK
Thanks I can see the behavior you are observing.
It seems that a resize event is triggered when slides are changing (especially when passing to o
mode), and this mess up the size.
I don't know if this is echartr specific or if it affects other charts (plotly ?) and if this is related to revealjs conflict or something we do trigger. Like resizing for htmlwidgets.js.
This will require more investigation - those type of issues are really not easy to identify clearly.
I conducted some tests using Scatter and line plots in Plotly. The same anomalies seem to appear regardless of whether a two-column layout is considered.
One advantage of Plotly is that when you set the output width to be noticeably smaller than the width of its column, such as setting the slide width to 1280px, and when the two-column layout is in use, the column housing Plotly is set to 82% width, and I set the Plotly output to 950px. No matter how you switch, no anomalies will appear.
This issue seems quite vexing, good luck, my friend.
Bug description
This abnormality can be rectified with a simple refresh. Additionally, there are no such issues under the same version of Edge on Mac.
Steps to reproduce
o
key, then locate the slide before the echarts4r output, press theo
key again, then navigate to the slide containing the echarts4r output. You should be able to see this anomaly.echarts4r output
:::: columns
::: {.column width="82%"}
:::
::: {.column width="18%"}
::: {.callout-important appearance="simple"} balala :::
:::
::::
Quarto check output