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

Avoid jumping CKEditor #3824

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Avoid jumping CKEditor #3824

merged 1 commit into from
Nov 6, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Nov 6, 2019

References

Objectives

  • Make sure elements on the page don't move around when CKEditor loads

Notes

This is a hack: we're making the textarea have the same size as CKEditor so when it's replaced the page won't jump.

A very similar hack was removed in commit e844b0b. Back then I thought this was a small issue we could live with, but the user experience turns out to be a bit annoying, and it makes tests fail sometimes because Capybara is trying to click something when the page jumps, and so it
misses the click.

This is a hack: we're making the textarea have the same size as CKEditor
so when it's replaced the page won't jump.

A very similar hack was removed in commit e844b0b. Back then I thought
this was a small issue we could live with, but the user experience turns
out to be a bit annoying, and it makes tests fail sometimes because
Capybara is trying to click something when the page jumps, and so it
misses the click.
@javierm javierm added the Bug label Nov 6, 2019
@javierm javierm self-assigned this Nov 6, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Nov 6, 2019
@javierm javierm merged commit a2f5317 into master Nov 6, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Nov 6, 2019
@javierm javierm deleted the jumping_ckeditor branch November 6, 2019 19:59
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant