quarto-dev / quarto-dev/quarto-cli

tabset doesn't seem to work well with html widget

Open
#1,076 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tabsets
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Hello,

I have a problem to render html widget inside tabset. I tried to create venn diagram with the upsetjs package but only the venn in the first (sometime first two) tab is rendered.

I have the same problem with html widget generated by the scatterD3 package.

If I remove the ::: panel-tabset the plot are rendered normally. Any idea of what is the problem and how to resolve it?

I have a qmd file and the rendered page that show the problem:
test.zip

Also, do you have any idea of when it willbe possible to use ojs in RStudio?

Thank you in advance for your help.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by unpacking the attached test.zip and inspecting the included qmd file and rendered page. Reproduce the upsetjs and scatterD3 widgets inside a panel-tabset, compare them with the version without the tabset, and verify that every plot renders in its tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.