Column with fixed height of individual children

Hi, I would like to create a layout using column, where the children have different heights, with content that will not fit into that height and therefore should be scrollable. However, I can’t seem to get this to work. I only get a scrollbar for all content.

Example:

from bokeh.models import Div
from bokeh.layouts import column
from bokeh.io import show, output_notebook

output_notebook()

layout = column(
    Div(
        text="This should be scrollable<br/>" * 30, 
        height=100, 
        sizing_mode="stretch_width"
    ), 
    Div(text="This should remain empty", height=100)
)
show(layout)

This is the output that I get:

Is it possible to get individual scrollbars for the children of column()?

Bokeh version 2.4.3, same result in either Edge 105.0.1343.33 or Chrome 105.0.5195.125.

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