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.

Scroll bar showing even after closing category

See original GitHub issue

Hi!

The scroll bar is still showing even after closing the category that introduced it!

image

my Javascrpt code is

function App() {
  const [xml, setXml] = useState('<xml xmlns="https://developers.google.com/blockly/xml"></xml>')
  const [javascriptCode, setJavascriptCode] = useState(null)
  return (
    <BlocklyWorkspace 
    toolboxConfiguration={toolbox}
    initialXml={xml}
    onXmlChange={(xml) => {
      setXml(xml)
      console.log(xml)
    }}
    className="w-screen h-screen"
    onImportXmlError={(e) => { console.log(e) }}
    workspaceConfiguration={{
      grid: {
        spacing: 20,
        length: 3,
        colour: "#ccc",
        snap: true
      },
      theme: DarkTheme,
      renderer: 'zelos',
      zoom: {
        controls: true,
        startScale: 0.9,
        maxScale: 3,
        minScale: 0.3,
        scaleSpeed: 1.2
      },
      trashcan: true,
      maxTrashcanContents: 0,
      move: {
        scrollbars: true,
        drag: true,
        wheel: true
      },
      readOnly: false
    }}
    onWorkspaceChange={(workspace) => {
      setJavascriptCode(Blockly.JavaScript.workspaceToCode(workspace))
      console.log(javascriptCode)
    }}
    />
  );
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
retrouser955commented, Jul 18, 2022

Ah ok thank you and sorry for the late reply, I was offline for about 4 days.

0reactions
nbudincommented, Jul 5, 2022

@Malix-Off These are all found in the issue I linked directly above your comment: https://github.com/google/blockly/issues/5840

The workaround is in the top-level description of that issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap modal makes scrollbar disappear after closing
This works partially because I have the scrollbar even when the modal closes. However, there seems to be about 15px padding on the...
Read more >
Scroll bar still showing | WordPress.org
The browser is probably overriding the scrollbar setting if there is content off screen. Try adding the following CSS body.page-layout-hide-masthead { overflow: ...
Read more >
Hide or display scroll bars in a workbook - Microsoft Support
Click the File tab. · Click Options, and then click the Advanced category. · Under Display options for this workbook, clear or select...
Read more >
Windows Tip: How To Stop The Disappearing Scroll Bar
Go to Settings / Ease of Access / Display and turn off Automatically hide scroll bars in Windows. Scroll bars will then always...
Read more >
Scrollbar staying visible due to external CSS #5840 - GitHub
Describe the bug When using Blockly with a framework that pulls ... Scroll bar showing even after closing category nbudin/react-blockly#75.
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