bsModal works with fluidPage but not without it The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceR shiny mainPanel display style and fontR Shiny: How to change background color of a tableHow do you publish an app that runs on an external dataset to shinyapps.io?Dataset output in Shinyapp in R using DT package does not show the full dataadding overlay of centiles to ggplot in Shiny apphow to calculate the intersection area of two circles in shiny or R codeUploading data to Shiny for analysesrshiny mainpanel pdf outputHow to display a different color on each side of range slider in Shiny app? As you slide on either side, color should also be filled automaticallynaming a working space data dataframe using Shiny textinput

What's the point in a preamp?

Simulating Exploding Dice

Can undead you have reanimated wait inside a portable hole?

Segmentation fault output is suppressed when piping stdin into a function. Why?

Why did all the guest students take carriages to the Yule Ball?

I could not break this equation. Please help me

Am I ethically obligated to go into work on an off day if the reason is sudden?

Take groceries in checked luggage

Can the prologue be the backstory of your main character?

What can I do if neighbor is blocking my solar panels intentionally?

Sort list of array linked objects by keys and values

Can smartphones with the same camera sensor have different image quality?

Why is superheterodyning better than direct conversion?

Does the AirPods case need to be around while listening via an iOS Device?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Match Roman Numerals

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

How does this infinite series simplify to an integral?

When did F become S in typeography, and why?

Windows 10: How to Lock (not sleep) laptop on lid close?

Can a 1st-level character have an ability score above 18?

How to delete random line from file using Unix command?

how can a perfect fourth interval be considered either consonant or dissonant?

Make it rain characters



bsModal works with fluidPage but not without it



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceR shiny mainPanel display style and fontR Shiny: How to change background color of a tableHow do you publish an app that runs on an external dataset to shinyapps.io?Dataset output in Shinyapp in R using DT package does not show the full dataadding overlay of centiles to ggplot in Shiny apphow to calculate the intersection area of two circles in shiny or R codeUploading data to Shiny for analysesrshiny mainpanel pdf outputHow to display a different color on each side of range slider in Shiny app? As you slide on either side, color should also be filled automaticallynaming a working space data dataframe using Shiny textinput



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.



The version with fluidPage:



library(shiny)
library(shinyBS)

shinyApp(
ui =
fluidPage(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),

mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)


The version without fluidPage, the only change is that the fluidPage is replaced by tagList:



library(shiny)
library(shinyBS)

shinyApp(
ui =
tagList(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),

mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)


Can anyboday help me explain what happened between bsModal and fluidPage?










share|improve this question






























    0















    I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.



    The version with fluidPage:



    library(shiny)
    library(shinyBS)

    shinyApp(
    ui =
    fluidPage(
    sidebarLayout(
    sidebarPanel(
    actionButton("tabBut", "View Table")
    ),

    mainPanel(
    bsModal("modalExample", "Data Table", "tabBut", size = "large",
    "distTable")
    )
    )
    ),
    server =
    function(input, output, session)
    )


    The version without fluidPage, the only change is that the fluidPage is replaced by tagList:



    library(shiny)
    library(shinyBS)

    shinyApp(
    ui =
    tagList(
    sidebarLayout(
    sidebarPanel(
    actionButton("tabBut", "View Table")
    ),

    mainPanel(
    bsModal("modalExample", "Data Table", "tabBut", size = "large",
    "distTable")
    )
    )
    ),
    server =
    function(input, output, session)
    )


    Can anyboday help me explain what happened between bsModal and fluidPage?










    share|improve this question


























      0












      0








      0








      I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.



      The version with fluidPage:



      library(shiny)
      library(shinyBS)

      shinyApp(
      ui =
      fluidPage(
      sidebarLayout(
      sidebarPanel(
      actionButton("tabBut", "View Table")
      ),

      mainPanel(
      bsModal("modalExample", "Data Table", "tabBut", size = "large",
      "distTable")
      )
      )
      ),
      server =
      function(input, output, session)
      )


      The version without fluidPage, the only change is that the fluidPage is replaced by tagList:



      library(shiny)
      library(shinyBS)

      shinyApp(
      ui =
      tagList(
      sidebarLayout(
      sidebarPanel(
      actionButton("tabBut", "View Table")
      ),

      mainPanel(
      bsModal("modalExample", "Data Table", "tabBut", size = "large",
      "distTable")
      )
      )
      ),
      server =
      function(input, output, session)
      )


      Can anyboday help me explain what happened between bsModal and fluidPage?










      share|improve this question
















      I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.



      The version with fluidPage:



      library(shiny)
      library(shinyBS)

      shinyApp(
      ui =
      fluidPage(
      sidebarLayout(
      sidebarPanel(
      actionButton("tabBut", "View Table")
      ),

      mainPanel(
      bsModal("modalExample", "Data Table", "tabBut", size = "large",
      "distTable")
      )
      )
      ),
      server =
      function(input, output, session)
      )


      The version without fluidPage, the only change is that the fluidPage is replaced by tagList:



      library(shiny)
      library(shinyBS)

      shinyApp(
      ui =
      tagList(
      sidebarLayout(
      sidebarPanel(
      actionButton("tabBut", "View Table")
      ),

      mainPanel(
      bsModal("modalExample", "Data Table", "tabBut", size = "large",
      "distTable")
      )
      )
      ),
      server =
      function(input, output, session)
      )


      Can anyboday help me explain what happened between bsModal and fluidPage?







      r shiny shinybs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 6:36









      Uwe Keim

      27.7k32135216




      27.7k32135216










      asked Mar 22 at 6:33









      LiangLiang

      10111




      10111






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Because fluidPage is much, much more than a simple tagList.



          tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.



          Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.






          share|improve this answer























          • Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

            – Liang
            Mar 22 at 7:01











          • fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

            – MrGumble
            Mar 22 at 7:10











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294089%2fbsmodal-works-with-fluidpage-but-not-without-it%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Because fluidPage is much, much more than a simple tagList.



          tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.



          Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.






          share|improve this answer























          • Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

            – Liang
            Mar 22 at 7:01











          • fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

            – MrGumble
            Mar 22 at 7:10















          0














          Because fluidPage is much, much more than a simple tagList.



          tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.



          Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.






          share|improve this answer























          • Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

            – Liang
            Mar 22 at 7:01











          • fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

            – MrGumble
            Mar 22 at 7:10













          0












          0








          0







          Because fluidPage is much, much more than a simple tagList.



          tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.



          Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.






          share|improve this answer













          Because fluidPage is much, much more than a simple tagList.



          tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.



          Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 22 at 6:49









          MrGumbleMrGumble

          2,19811124




          2,19811124












          • Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

            – Liang
            Mar 22 at 7:01











          • fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

            – MrGumble
            Mar 22 at 7:10

















          • Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

            – Liang
            Mar 22 at 7:01











          • fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

            – MrGumble
            Mar 22 at 7:10
















          Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

          – Liang
          Mar 22 at 7:01





          Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?

          – Liang
          Mar 22 at 7:01













          fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

          – MrGumble
          Mar 22 at 7:10





          fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.

          – MrGumble
          Mar 22 at 7:10



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294089%2fbsmodal-works-with-fluidpage-but-not-without-it%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript