Skip to content

Commit e2c3b23

Browse files
committed
Document 'auto' or '100%' not working as expected in plotlyOutput(), closes #1495
1 parent 6ffde85 commit e2c3b23

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

R/shiny.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#' @param outputId output variable to read from
77
#' @param width,height Must be a valid CSS unit (like \code{"100\%"},
88
#' `"400px"`, `"auto"`) or a number, which will be coerced to a
9-
#' string and have `"px"` appended.
9+
#' string and have `"px"` appended. Note that, for height, using "auto"
10+
#' or "100%" generally will not work as expected, because of how
11+
#' height is computed with HTML/CSS.
1012
#' @param inline use an inline (`span()`) or block container
1113
#' (`div()`) for the output
1214
#' @param expr An expression that generates a plotly

man/plotly-shiny.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)