Comments (3)
add a < br > (minus the spaces...) instead of \n in your string
from shinybs.
First, thanks for this great package and for your work to get it up and running again after major breaking changes upstream from you.
Unfortunately, I need to expand the scope of this issue. I too ran into the problem mentioned above, but it is slightly more complex than just not rendering "\n". Not a major problem once I figured out why things weren't working, but I wasted some time getting things working.
It seems popovers and tooltips will fail silently with actual line breaks in the string content
in the source code, even when not rendered. This is hard to show here, but for example, if my source code looks something like:
bsPopover( 'id', title='Title', content="<p>Paragraph 1</p><p>Paragraph 2</p>" )
it works, but if it looks like
bsPopover( 'if', title='Title', content="<p>Paragraph 1</p>
<p>Paragraph 2</p>" )
with any real line break inside the quoted string, nothing will show. It also might be that all following popovers will fail to show after one breaks due to this. I am using shinyBS 0.61 and working on a mac in Rstudio, in case that matters.
Thanks again!
from shinybs.
Yes, thanks for this great package! I just would like to add to the above comment that I observed the same behaviour, on R 4.1.2, shinyBS version 0.61, Windows. With coding line breaks in content=""
nothing is shown ...
from shinybs.
Related Issues (20)
- Fast clicks can cause issues with bsModal
- Jquery error Uncaught Error: Syntax error, unrecognized expression: # HOT 2
- Mt app is frozen when close two opened modals
- FR: Allow updating additional attributes in `updatePanel`
- FR: Allow specification of id tag in bsCollapsePanel
- FR: Add 'multiple' parameter to `collapseUpdate`
- Uncaught referenceErrorL ShinyBS is not defined at ..... HOT 4
- Soft wrap long text in bsCollapsePanel()
- Is someone taking over support of this package?
- Change the way shinyBS adds resource path HOT 1
- modal is not working in ioslides_presentation
- Tooltips does not show up with shinyDashboard boxes sidebar
- bsModal works with shinydashboard but not when tabItems / tabItem are utilized HOT 2
- Dependencies failed to load HOT 1
- Alternatives to shinyBS HOT 1
- bsPopover (tooltip) not working in shinyapps.io
- feature request, load function HOT 1
- createAlert styles
- bsTooltip broken for selectizeInput and selectInput(..., multiple = T) HOT 1
- Lazy loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinybs.