question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Div widget overlapping after layout overhaul in 1.1.0

See original GitHub issue

After new layout overhaul in bokeh version 1.1.0 Div widgets are not responding in the layout as expected.

Before version 1.1.0 - the layout looked like this: image

Now the same layout looks like this: image

If you force a different sizing mode other than fixed (e.g. ‘stretch_both’) then you at least avoid the overlapping, but the sizing still seems off. No matter what I put in the height and width when it’s fixed, it doesn’t seem to change size. image

I’m on windows, using a Chrome browser.

Similar code snippet to what I’m using in my app:

div_header = Div(text="""
                    <h4><i>Stochastic Simulation Inputs</i></h4>""",
                                 style={
                                            'background-color': '#c8cfd6', 
                                            'outline': 'black solid thin',
                                            'text-align': 'center'
                                            }, height=15, width=610, 
                                 sizing_mode='stretch_both')

sim_duration = TextInput(title="Stochastic Simulation Length (hrs):", value="504", name='SimDuration')

layout = column(div_header, sim_duration)
show(layout)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mattpapcommented, Nov 4, 2022

No, it still needs fixes, but it isn’t too far off.

0reactions
bryevdvcommented, Nov 4, 2022

Are you saying it can/should be closed, then?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Designer Overlapping Issue - python - Stack Overflow
Move every widget from that nested layout to the main one of the scroll area and delete that layout;; form layouts are normally...
Read more >
Overlap a div on top of another element - HTML & CSS
I have Im trying to place the vertical menu so that the other element (which is a SVG) is not pushed down and...
Read more >
Widget overlap - WordPress.org
Hi I'm experiencing overlap issues with the fixed widget. ... It seems there is a conflict of sidebars div “margin-top” and plugins settings...
Read more >
Overlapping Content Widgets in Elementor - Can I Recreate It?!
Can I recreate this section with overlapping elements on Jenna Kutcher's website using the Elementor Page Builder?
Read more >
4 easy methods to overlap the content in Elementor (no PRO ...
Have you ever tried to overlap image and text in Elementor? Did you do it the right way? In this tutorial, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found