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 1ee2a25 commit 4e5c5f9Copy full SHA for 4e5c5f9
srcjs/shinyapp.js
@@ -283,6 +283,10 @@ var ShinyApp = function() {
283
};
284
285
this.$updateConditionals = function() {
286
+ $(document).trigger({
287
+ type: 'shiny:conditional'
288
+ });
289
+
290
var inputs = {};
291
292
// Input keys use "name:type" format; we don't want the user to
@@ -310,10 +314,6 @@ var ShinyApp = function() {
310
314
var show = condFunc(scope);
311
315
var showing = el.css("display") !== "none";
312
316
if (show !== showing) {
313
- el.trigger({
- type: 'shiny:conditional',
- show: show
- });
317
if (show) {
318
el.trigger('show');
319
el.show();
0 commit comments