-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tippy have a Incorrect location #18
Comments
this is a part of my cord , I am using package 'shinyWidgets' here .
And I found that it is normal sometimes , such as:
|
Appears to be an issue with inline elements. Discussed here on Stack Overflow: https://stackoverflow.com/questions/70211827/position-tippy-tooltip-next-to-button-in-r-shiny/70220872 |
Sorry I had not seen this issue on stackoverflow. This is not an error the elements that has the tooltip actually takes the entire width of the page. library(shiny)
library(tippy)
shinyApp(
ui = fluidPage(
tippy(
element = p("Test", style = "width:20px;"),
content = "Tooltip"
)
),
server = function(input, output) {}
) Better, use placement library(shiny)
library(tippy)
shinyApp(
ui = fluidPage(
tippy(
element = p("Test"),
content = "Tooltip",
placement = "top-start"
)
),
server = function(input, output) {}
) |
Thank you for the package ,This package is very useful for me. Thank you again!
When my UI part is leaning to the side, it cannot be displayed accurately on top of the UI part ,I just follow the example to write my code
The text was updated successfully, but these errors were encountered: