Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code view: no scrolling and fullscreen size incorrect when Froala has height set #3412

Closed
jmiserez opened this issue May 6, 2019 · 0 comments

Comments

@jmiserez
Copy link

jmiserez commented May 6, 2019

The layout (size and scrolling) of the standard code view does not work correctly when Froala has a fixed height configured, see attached gif and jsfiddle.

Expected behavior.
  • Scrolling should be possible when there is too much code
  • In "fullscreen" mode, the code should fill the code editor (like the content does).
Actual behavior.
  • Scrolling is not possible (overflow-y: hidden is set)
  • The code does not fill the expanded "fullscreen" view.
Steps to reproduce the problem.
  1. Open jsFiddle, which has height: 200 set
  2. Enter a few lines of text
  3. Open code view -> Scrolling is not possible
  4. Click "fullscreen" toolbar button -> Code doesn't expand to fill the space.
Froala Version.

Froala v2.9.5

OS.

Windows 7 64bit

Browser.

Tested in Chrome 74.0.3729.131.

Recording.

froala-code-view-scroll-layout-bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants