Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Unable to resize rangeslider with plot resize

Hi

I am trying to resize my plotly plot generate in python using following method

$(window).resize(function() {
         var divheight = $("#section").height();
         var divwidth = $("#section").width();

         var update = {
                  width:divwidth,  // or any new width
                  height:divheight // " "
                };

        Plotly.relayout('section', update);

            }).resize();

I am using am using range slider . When I try to resize my plot , using above method , the size of rangeslider remain unchanged . Can someone suggest what to change ?

Current layout structure :

            layout=dict(
                         title='',
                         xaxis=dict(
                                       rangeslider=dict() 
                                      )
                        )

Looks like you discovered a bug.

Thanks for reporting!

Please subscribe to https://github.com/plotly/plotly.js/issues/686 for the latest development info.