We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543c5b8 commit b694f94Copy full SHA for b694f94
srcts/src/components/card.ts
@@ -192,7 +192,15 @@ class Card {
192
193
private _setShinyInput(): void {
194
if (!this.card.classList.contains(Card.attr.CLASS_SHINY_INPUT)) return;
195
- if (!Shiny || !Shiny.setInputValue) return;
+ if (!Shiny) return;
196
+ if (!Shiny.setInputValue) {
197
+ if (Shiny.shinyapp) {
198
+ Shiny.shinyapp.taskQueue.enqueue(() => this._setShinyInput());
199
+ } else {
200
+ setTimeout(() => this._setShinyInput(), 0);
201
+ }
202
+ return;
203
204
Shiny.setInputValue(this.card.id, {
205
// eslint-disable-next-line @typescript-eslint/naming-convention
206
full_screen:
0 commit comments