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

Can't scroll on any of the admin panel pages #808

Closed
angelogiomateo opened this issue Oct 3, 2016 · 14 comments
Closed

Can't scroll on any of the admin panel pages #808

angelogiomateo opened this issue Oct 3, 2016 · 14 comments

Comments

@angelogiomateo
Copy link

When I attempt to scroll on any of the admin panel pages, it won't move down. Only when I zoom out of the page, I can access any of the content near the bottom of the page. I can scroll down in the text box, but not the actual page itself.

image

image

@w00fz
Copy link
Member

w00fz commented Oct 3, 2016

You probably have a JS Error, try opening the developer tools and see what the error is.

@angelogiomateo
Copy link
Author

Hi w00fz,

I'm getting this error:
image

@w00fz
Copy link
Member

w00fz commented Oct 3, 2016

That doesn't look like a js error that would prevent the page from scrolling.
Have you tried another browser like chrome to see if it's isolated to your current one?

@angelogiomateo
Copy link
Author

Doesn't seem to work either on Edge.

@angelogiomateo
Copy link
Author

Doesn't work on Firefox too.

@w00fz
Copy link
Member

w00fz commented Oct 3, 2016

Ok when you opened the developer tools, was it after the page had loaded? Because you need to first open the dev tools and then refresh the page, in order to catch JS errors.
So maybe there are JS errors.

@angelogiomateo
Copy link
Author

Did that too. No other JS errors.
I'm wondering if it's my domain?

@flaviocopes
Copy link
Contributor

I remember another user had issues when using Cloudflare, probably their compression or JS minification is giving some problems. Can you check this is the case, by disabling cloudflare on the site?

@angelogiomateo
Copy link
Author

Tried disabling Cloudflare. Still doesn't seem to be working, though I wonder if it takes time to respond to the change. Will let you know in a bit.

@angelogiomateo
Copy link
Author

whoops sorry.

@angelogiomateo
Copy link
Author

UPDATE: It is definitely Cloudflare. I wonder what's going on with that. Issue solved, but I guess that's a bug that mods might want to look into.

@w00fz w00fz added the duplicate label Oct 4, 2016
@w00fz
Copy link
Member

w00fz commented Oct 4, 2016

Yah this seems just to be an issue with Cloudfare JS optimization service. Nothing we can do really.

This also appears to be a duplicate of #797.

@w00fz w00fz closed this as completed Oct 4, 2016
@flaviocopes
Copy link
Contributor

Is there a way to have it NOT act on Admin, but just on the frontend?

@OleVik
Copy link
Contributor

OleVik commented Feb 2, 2017

For future reference, per CloudFlare's current setup (of names and settings): In CloudFlare's interface, go to Speed and disable Rocket Loader (or through a page-rule). Also, @flaviocopes, yes, it can be disabled in the (default) 'automatic' mode with a data-attribute on scripts: <script data-cfasync="false" src="/javascript.js"></script>.

Though honestly adding this for all <script>-tags seems excessive to me, it would be more efficient if CloudFlare detected a singular HTML5-tag and disabled based upon that. Though I guess Grav could leverage assets to add the attribute based on an option in system.yaml.

An example of a page-rule would be the URL match olevik.me/staging/*/admin, where the * is a wildcard indicating any folder-name. For settings, add "Rocket Loader" and select "Off".

OleVik added a commit to OleVik/grav-learn that referenced this issue Jul 15, 2018
- [x] Document optional collection ordering PHP flags getgrav/grav#1640
	- Added under /content/collections#php-collections
- [x] Added cache_control system and page override getgrav/grav#1591
	- Added reference-link to /basics/grav-configuration#pages
	- Added /content/headers#cache-control
- [x] clear_images_by_default cache option getgrav/grav#1481
	- Clarified description in /basics/grav-configuration#pages
- [x] Collection::intersect() getgrav/grav#1605
	- Added under /content/collections#collection-object-methods
- [x] Collection::merge() method
	- Added under /content/collections#collection-object-methods
- [x] Page::collection() filtering
	- Added under /content/collections#complex-collections, with a bit of cleanup
- [x] Document EXIF support in Grav (and in capabilities)
	- Clarified /themes/twig-filters-functions#exif
	- Added note at the end of /cookbook/general-recipes#creating-a-simple-gallery
- [x] document not being able to scroll caused by cloudlare. getgrav/grav-plugin-admin#808 (comment)
	- Done in getgrav#397
	- Duplicated under Admin Plugin and Cookbook headers
- [x] Document adding custom form fields with examples..
	- Done in getgrav#401
- [x] Document range field
	- Done in [7e0dcbc](getgrav@7e0dcbc)
- [x] Tutorial on how to create a split menu system (vertical menu?)
	- Duplicated under Cookbook header
- [x] Tutorial walkthrough covering going from and HTML site/design to Grav theme
	- Duplicated under Cookbook header

getgrav#356 needs some cleanup to remove completed tasks, they're not really needed.
RyanMPierson added a commit to getgrav/grav-learn that referenced this issue Jul 15, 2018
rhukster pushed a commit to getgrav/grav-learn that referenced this issue Jul 27, 2018
- [x] Document optional collection ordering PHP flags getgrav/grav#1640
	- Added under /content/collections#php-collections
- [x] Added cache_control system and page override getgrav/grav#1591
	- Added reference-link to /basics/grav-configuration#pages
	- Added /content/headers#cache-control
- [x] clear_images_by_default cache option getgrav/grav#1481
	- Clarified description in /basics/grav-configuration#pages
- [x] Collection::intersect() getgrav/grav#1605
	- Added under /content/collections#collection-object-methods
- [x] Collection::merge() method
	- Added under /content/collections#collection-object-methods
- [x] Page::collection() filtering
	- Added under /content/collections#complex-collections, with a bit of cleanup
- [x] Document EXIF support in Grav (and in capabilities)
	- Clarified /themes/twig-filters-functions#exif
	- Added note at the end of /cookbook/general-recipes#creating-a-simple-gallery
- [x] document not being able to scroll caused by cloudlare. getgrav/grav-plugin-admin#808 (comment)
	- Done in #397
	- Duplicated under Admin Plugin and Cookbook headers
- [x] Document adding custom form fields with examples..
	- Done in #401
- [x] Document range field
	- Done in [7e0dcbc](7e0dcbc)
- [x] Tutorial on how to create a split menu system (vertical menu?)
	- Duplicated under Cookbook header
- [x] Tutorial walkthrough covering going from and HTML site/design to Grav theme
	- Duplicated under Cookbook header

#356 needs some cleanup to remove completed tasks, they're not really needed.
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