securingsincity / react-ace

React Ace Component

Home Page:http://securingsincity.github.io/react-ace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Horizontal scrollbar is not visible

NiedziolkaMichal opened this issue · comments

Problem

When showGutter is set to false and value is wider than the containing window, horizontal scrollbar is not shown.
I have noticed that manual scrolling by text selection fixes the problem, as well as replacing the value. Both of those, are unfortunately, not a good solutions that I could use in production.

Sample code to reproduce your issue

      <AceEditor
        showGutter={false}
        value={`function onLoad(editor) console.log("i've ladsadsadsadasdasdsadasdasdasdasdasdasdas");
}`}/>