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.

Unable to scroll page when using djangocms_text_ckeditor.fields.HTMLField

See original GitHub issue

When using the CKEditor within a web page I am unable to scroll using a touch screen anywhere else besides on the CKEditor itself.

# models.py
from django.db import models
from djangocms_text_ckeditor.fields import HTMLField

class MyClass(models.Model):
    body = HTMLField(blank=True)
# form.py
from django import forms

class MyClassForm(forms.ModelForm):
    class Meta:
        model = MyClass
        fields = ["body"]
# template.html
<form method="POST" enctype="multipart/form-data">
    {% csrf_token %}
    <div class="row">
        <div class="col-12">
            <div class="form-row p-2 mb-3 border rounded">
                <label class="font-weight-bold" for="{{ form.body.id_for_label }}">{{ form.body.label }}</label>
                {{ form.media }}
                {{ form.body }}
            </div>
        </div>
    </div>
    <div class="row mt-2">
        <div class="col-6">
            <a href=" type="submit" class="btn btn-outline-primary mt-1">Back</a>
        </div>
        <div class="col-6 text-right">
            <button type="submit" name="continue-editing" class="btn btn-outline-primary mt-1">Save and Continue Editing</button>
            <button type="submit" class="btn btn-outline-primary mt-1">Save</button>
        </div>
    </div>
</form>

... MORE STUFF

So what happens is, when I use a touch screen such as a phone, I can only scroll if I touch the editor and drag. But anywhere else on the page I am unable to.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
serg-quintacommented, Aug 4, 2022

Hi all! We have got the same issue. This issue is related to cmsresize plugin which adds data-touch-action=“none” to html tag and applies touch-action: none; CSS rule. This rule disabling manipulation on touchscreen. You can fix it by disabling resizing by adding ‘resize_enabled’: False to CKEditor settings. I hope this will help you.

0reactions
stale[bot]commented, Nov 30, 2022

This will now be closed due to inactivity, but feel free to reopen it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Website won't scroll down - Stack Overflow
Yeah I just tried this out if you need something to overflow the sides you should use html{ overflow-x: hidden; }. instead of...
Read more >
Cannot scroll down in form editor when I edit the
Hi everyone, Just wondering if anyone has encountered what I'm going through. I had no problem using the solution form editor a week...
Read more >
Unable to scroll down on the form on the website when using ...
Hello Jeff,. I tested your site on my Android phone using Chrome browser and I was able to see your order form and...
Read more >
Can't scroll down the page - WordPress.org
[This thread is closed.] Hallo! Thank you for the Plugin. It's very easy to handle. But i have a problem. I build the...
Read more >
Unable to scroll after opening a ticket with Filte...
I have no scroll bar and cannot get to the content lower on the page. If I go up to the URL and...
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