Loss of mobile touch scrolling with update to Bokeh 3.6.0

I recently updated my Bokeh application from Bokeh 3.0.2 to 3.6.0. Previously, touch scrolling on mobile worked anywhere in the figure/plot area on my application, and now touch scrolling is non-functional. My application is here:

https://www.snowpacktracker.com/btac/stormtracker

I’m not sure where to start on relevant code, however my figure instances are all put into a layout such as:

doc = curdoc()

# Make a row for widgets
hor_layout_select = (
        row(
          column(hor_layout_date_slider),
          column(time_select_widget),
          column(zone_select_widget),
          column(help_spacer,help_button)
        )
    )

children = [hor_layout_select]

# add figure instances to children
for f in figs:
    children.append(f)

l = layout(children, sizing_mode='stretch_width')

doc.add_root(l)

I’m happy to provide more details as needed. Has anyone else experienced this change with updating to latest Bokeh?

This is somewhat ironic, as I struggled with touch scrolling for a while with earlier Bokeh versions, and then it was magically functional when I updated to a 2.x version, and remained functional through the transition to version 3 (if I remember correctly).

Thank you!
Patrick

Also, the only changes I was prompted to make via deprecation warnings after updating to 3.6.0 was to change some plotting elements. circle(size=) to scatter(size=) and triangle() to scatter(marker='triangle'). Otherwise, I am getting no errors.

@Patrick_Wright Please file a GitHub Issue with details

1 Like

@Bryan the PR closing the issue linked above successfully restored touch scrolling functionality for mobile. However, it seems to have also disabled use of the HoverTool on mobile. I made an additional comment in the GH Issue.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.