Repository navigation
Needs examples for responsive layout #712
Unanswered
illeatmyhat
asked this question in
Q&A
Replies: 1 comment
|
If you are using a modern browser, in some cases using |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
React-Ace seems to use the
widthandheightprops to determine a lot of things (i.e. scrolling), and this seems to imply that it is difficult for the project to get rid of them.As an alternative, there needs to be some canonical example of how to embed a React-Ace editor inside of a responsive layout, with resizing containers and elements.
I've gotten it to work using
ResizeObservers. It goes something like this:All reactions