rhandsontable
rhandsontable copied to clipboard
Unable to scroll page when cursor is over an rhandsontable
Hi,
I found that page scrolling does not work whenever the cursor is over an rhandsontable. Do you know how to fix this? Thank you in advance!
i experienced same problem and i found by adding ,overflow = 'visible'
parameter to rhandsontable
function will not block scroll page when cursor is over rhandsontable. hope this helps
I am still experiencing this issue, even after adding what was suggested. It worked when tested on a very basic example app but not in a shinyDashboard as the one below:
library(shiny)
library(shinydashboard)
library(rhandsontable)
ui <- dashboardPage(
header = dashboardHeader(title = 'Title'),
body = dashboardBody(
rHandsontableOutput('hot'),
tableOutput('t')
),
sidebar = dashboardSidebar()
)
server <- function(input, output, session) {
output$hot = renderRHandsontable({
mtcars %>%
rhandsontable(overflow = 'visible')
})
output$t = renderTable({
mtcars
})
}
shinyApp(ui, server)
I have exactly the same problem as @paladinic. It is not possible to vertically scroll down an rhandson table in shinydashboard. For now I'm using a workaround in my code which forces a vertical scroll in the rhandson table to appear, by fixing the height ...
rhandsontable(height =300)
and in style.css
.handsontable {
overflow: hidden;
}
@chinthanishanth Adding overflow = hidden
only works for me if height
is not specified.