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.

How can I always display scroll bar ?

See original GitHub issue

This wiki says that hScrollBarAlwaysVisible or vScrollBarAlwaysVisible (boolean property) make it so (probably…).

I tried it like this:

          <AceEditor
            ref="reactAceEditor"
            fontSize="14px"
            width="100%"
            height="100%"
            mode="python"
            theme={editorTheme}
            onChange={changeCode}
            editorProps={{ $blockScrolling: true }}
            value={codeValue}
            setOptions={{
              enableSnippets: false,
              showLineNumbers: true,
              tabSize: 4,
              showPrintMargin: false,
              hScrollBarAlwaysVisible: true,
              vScrollBarAlwaysVisible: true
            }}
          />
// but it does not work.

Thank you.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
1x-engcommented, Dec 1, 2019

@moriyuu Im curious to learn what did you choose if not AceEditor. Im sort of having similar issues. I think Ace is awesome but for performance issues with event listeners. Im researching alternatives. Curious to know if you had any recommendations.

Thanks

1reaction
moriyuucommented, Nov 20, 2019

Sorry, I’m not using AceEditor no longer. This issue can be closed if nobody watch this, I think.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Force (Always Show) Scrollbars With CSS - W3Schools
Learn how to always show scrollbars with CSS. ... Force / Always Show Scrollbars. Add overflow: scroll; to show both the horizontal and...
Read more >
CSS - Overflow: Scroll; - Always show vertical scroll bar?
I am using a Mac, and in Chrome and Safari the vertical scroll bar will only show when the mouse is over the...
Read more >
How to Always Show Scrollbars in Windows 11 Apps
Press Win + I to launch the Settings app and navigate to Accessibility > Visual effects. Turn the toggle on next to the...
Read more >
How to keep Scrollbars always visible in Windows 11/10
Open Windows 11 Settings; Click Accessibility settings; Click open Visual Effects; Here turn on the switch against Always show scrollbars.
Read more >
How to Always Show Scrollbars in Windows 11 - How-To Geek
And that's it! Close Settings, and you'll always see scrollbars in your windows (unless an app handles its scrollbars independently). If you ...
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