You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at this, I have not yet replicated it on just the JavaScript side (see codepen). I'll try to add some lines to see if that reproduces the issue. @batra2, if you can recreate with a minimal reproducible example, I would really appreciate it.
@cpsievert, I replicated with the following code and noticed another sort-of-related problem. The legend scroll rect appears but has no impact in RStudio/Windows, but works as expected in Chrome and Firefox. Does the legend rect respond to drag in your RStudio?
#issue 525
# Legend Scroll issues
# issue states happens on resize with shiny
# but I can replicate without shiny
# as shown below
library(ggplot2)
library(plotly)
library(dplyr)
ggplotly(
ggplot(
mtcars%>%add_rownames(),
aes(mpg,hp,color=rowname)
) +
geom_point() +
geom_smooth(
aes(mpg,hp),
inherit.aes=FALSE
)
)
Ok, same with me. Do you think I should file an issue on plotly.js or just accept that this is a limitation of RStudio Viewer (perhaps webkit) similar to #322?
I'll switch focus now back to the issue with legend scrolling on resize.
Activity
timelyportfolio commentedon Mar 18, 2016
Ok thanks for additional info. I think this makes more sense. I should be able to try to replicate Sunday.
cpsievert commentedon Mar 19, 2016
This seems like a plotly.js problem. @timelyportfolio I know the plotly.js folks like reproducible example(s) using codepen, if possible.
timelyportfolio commentedon Mar 21, 2016
Looking at this, I have not yet replicated it on just the JavaScript side (see codepen). I'll try to add some lines to see if that reproduces the issue. @batra2, if you can recreate with a minimal reproducible example, I would really appreciate it.
timelyportfolio commentedon Mar 21, 2016
@batra2, I have been able to reproduce in R, so an example is no longer necessary. I'll let you know what I can find out.
timelyportfolio commentedon Mar 21, 2016
@cpsievert, I replicated with the following code and noticed another sort-of-related problem. The legend scroll
rectappears but has no impact in RStudio/Windows, but works as expected in Chrome and Firefox. Does the legendrectrespond to drag in your RStudio?cpsievert commentedon Mar 21, 2016
Everything works as expected for me in Chrome/Firefox, but I can't seem to click and drag the scroll bar in RStudio (mouse scroll is working, though).
timelyportfolio commentedon Mar 22, 2016
Ok, same with me. Do you think I should file an issue on plotly.js or just accept that this is a limitation of RStudio Viewer (perhaps
webkit) similar to #322?I'll switch focus now back to the issue with legend scrolling on resize.
timelyportfolio commentedon Mar 22, 2016
I think this gets fixed in
v.1.7.0(see plotly/plotly.js@7b393d4#diff-f48c57dae9095e916f13f364ae740f69).timelyportfolio commentedon Mar 22, 2016
Unfortunately, problem still there even though the scrolling legend behaves much better. I'll research a little more and file issue over on plotly.js.
timelyportfolio commentedon Apr 7, 2016
This should now be fixed. Please reopen if you are still having trouble after updating to the newest version.