Interacting with widgets change page scroll

Hi all,
I’ve just found an issue that appears to be related to bokeh plots as far as I can tell.
When a plot is present in my page an I interact with any widget, the scroll changes sometimes not so much and other times it goes all the way to the top
This is an example:

Any idea how can I avoid this?
Thank you

Hi Guys,
can anyone help with this? I’ve found more issues using bokeh with Streamlit, is anyone experiencing difficulties?
Thank you

Hello @Fil,

Are you able to provide a code sample so we can experience it on our side ?


Hi Fanilo,
thank you for your reply, I can add the code I’ve used to generate the example above, for what I saw the magnitude of the issue can vary a lot depending on the number of plots and their disposition on the page.
I hope it’s ok if I copypaste it down below.
Best regards

import streamlit as st

from bokeh.plotting import figure

p = figure(plot_width=400, plot_height=400)

# add a circle renderer with a size, color, and alpha[1, 2, 3, 4, 5], [6, 7, 2, 4, 5], size=20, color="navy", alpha=0.5)



         No 37 Squadron is a Royal Australian Air Force (RAAF) medium tactical airlift squadron. It operates Lockheed Martin C-130J Hercules aircraft from RAAF Base Richmond, New South Wales. The squadron has seen active service flying transport aircraft during World War II, the Vietnam War, the wars in Afghanistan and Iraq, and the military intervention against ISIL. It has also supported Australian humanitarian and peacekeeping operations around the world, including in Somalia, East Timor, Bali, Papua New Guinea, and the Philippines.

The squadron was formed at RAAF Station Laverton, Victoria, in July 1943, and equipped with Lockheed C-60 Lodestars that it operated in Australia, New Guinea and the Dutch East Indies. Towards the end of the war it began flying Douglas C-47 Dakotas. It became part of No. 86 (Transport) Wing, headquartered at RAAF Station Schofields, New South Wales, in 1946 but was disbanded two years later. In response to Australia's increasing air transport needs during the Vietnam War, the squadron was re-formed at Richmond in February 1966, and equipped with the C-130E Hercules. It converted to the C-130J model in 1999, and between 2006 and 2012 also operated C-130Hs formerly of No. 36 Squadron. No. 37 Squadron came under the control of a re-formed No. 86 Wing from 1987 until 2010, when it was transferred to No. 84 Wing.


1   Role and equipment

2   History

2.1 World War II and aftermath

2.2 Re-establishment

3   See also

4   Notes

5   References

Role and equipment

Bespectacled man in camouflage uniform with fluorescent jacket in cockpit of military aircraft

Ground crewman of No. 37 Squadron in a C-130J Hercules during a US exercise in February 2015

No. 37 Squadron is tasked with medium tactical airlift in Australia and overseas, transporting troops and cargo, and conducting medical evacuation, search-and-rescue, and airdrop missions.[1][2] It is located at RAAF Base Richmond, New South Wales, and controlled by No. 84 Wing, which is part of Air Mobility Group.[3] As of July 2013, the squadron comprised more than 400 personnel organised into four flights of aircrew, an administrative and operational section, and a maintenance section responsible for day-to-day aircraft servicing as well as regular maintenance cycles of six weeks' duration.[1] Intermediate and heavy maintenance is contracted to Airbus Group Australia Pacific (airframe) and StandardAero (engines).[4] No. 37 Squadron's motto is "Foremost".[5]

The squadron operates twelve Lockheed Martin C-130J Hercules, which entered service in 1999.[2][6] The aircraft are generally crewed by two pilots and a loadmaster, the latter being responsible for the loading, carriage and unloading of cargo and passengers.[7] The C-130J can carry 19,500 kilograms (43,000 lb) of cargo, or 120 passengers. It has a range of over 6,800 km (4,200 miles) without payload, and is able to operate from short and unsealed airstrips.[8] From 1999 to 2017, No. 285 Squadron operated a C-130J Flight simulator at Richmond and was responsible for training No. 37 Squadron's aircrew and maintenance personnel; its role and most of its personnel were subsequently transferred to No. 37 Squadron's Training Flight.[9][10] No. 37 Squadron maintains a detachment of two aircraft at Al Minhad Air Base in the United Arab Emirates to support operations in the Middle East Region under Operation Accordion.[11][12] The C-130Js are expected to remain in RAAF service until 2030.[13]


World War II and aftermath

Side view of twin-engined cargo plane on landing ground

Lockheed Lodestar of No. 37 Squadron at Merauke, Dutch New Guinea, in December 1944

No. 37 (Transport) Squadron was formed on 15 July 1943 at RAAF Station Laverton, Victoria, with a staff of two officers and thirteen airmen.[14][15] Its first commanding officer, Squadron Leader Neville Hemsworth (late of No. 34 Squadron), arrived on 21 July, and its first aircraft, a single-engined Northrop Delta (also formerly of No. 34 Squadron), was delivered on 2 August.[16][17] The squadron was allocated the first of a batch of ten twin-engined Lockheed C-60 Lodestar transports on 23 August.[15][18] The Delta was written off following an accident on 30 September.[17] By then the squadron's staff numbered 190, including forty-five officers.[19] It was declared operational on 11 October 1943, undertaking regular courier flights across Australia to destinations including Perth, Western Australia; Darwin and Alice Springs, Northern Territory; Adelaide, South Australia; Maryborough, Queensland; and Launceston, Tasmania.[15]

Side view of twin-engined military place in flight

A Douglas Dakota A65-71 of No. 37 Squadron flew the late Prime Minister John Curtin to burial in July 1945.

By mid-1944, the squadron had expanded its operations to New Guinea, making courier flights to Merauke initially, and later Wewak, Noemfoor and Hollandia.[15] It transferred to Essendon, Victoria, on 1 September.[20] The unit was now one of eight Australian transport squadrons, all of which operated under the control of RAAF Headquarters, Melbourne. Their primary duty was supporting the Australian military, though they could also be released for urgent requests by General Douglas MacArthur's South West Pacific Area headquarters.[21] A Lodestar crashed and burned on takeoff at Merauke on 26 January 1945 but all aboard escaped injury; it was the only hull loss suffered by the type in Australian service.[18][22] No. 37 Squadron received its first three Douglas C-47 Dakotas the following month, and by the end of March had a complement of eighteen aircraft: nine Dakotas, seven Lodestars, a Douglas DC-2, and a de Havilland Tiger Moth.[15][23] The next month it began operating detachments out of Parafield, South Australia, and Morotai in the Dutch East Indies.[24][25] On 6 July 1945, one of the squadron's Dakotas transported the body of Prime Minister John Curtin from Canberra to Perth for burial.[26] By September 1945, No. 37 Squadron's strength was 357 staff, including 111 officers, sixteen Dakotas, two Lodestars, a DC-2, and a Tiger Moth.[27]

Following the end of hostilities, No. 37 Squadron repatriated former prisoners of war from Singapore to Australia.[24] On 27 July 1946, it moved to RAAF Station Schofields, New South Wales, where it came under the control of No. 86 (Transport) Wing along with Nos. 36 and 38 Squadrons, also operating



st.button(label='a button')