-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Flickering on Media manager files after latest update #4601
Comments
This has been reported by a few users on Slack, so bumping up the priority. |
Thank you @bennothommo . If you have a lot files is impossible to work with media manager so the only quick solution for now is to downgrade. |
I'm having this issue on a number of sites - whats the best way to downgrade? |
@roojai If you upgraded via Composer, you can change the October dependencies in
|
Thanks @bennothommo but not really sure how to do that. I use 1pilot to manage multiple site upgrades, or I just use the backend plugin updates button. The "resize browser" fix works well for now |
@bennothommo will look at it as well! |
Same issue here... I thought it was only me :) |
@bennothommo I know what component causes the issue, will dig dipper. |
@w20k in case it helps I've seen this happen on Facebook too just now, except much more aggressively and vertically instead of horizontally on the latest chrome. |
temporary fix
|
I personally have been unable to replicate this on Linux running Chrome 76 and Firefox 69. Is this happening on a particular browser or OS? Is it happening just for the Media tab in the main menu, or the media finder when adding images to a widget? Is there a specific amount of files it needs before the bug manifests? |
@bennothommo i have windows 10, chrome ver 76.0.3809.132 (Official build), (64 bit). The problem is relevant wherever the media window is used. |
Im on the same set up as @pavelmgn. @bennothommo I have noticed that the problem does not occur in media manager itself, but when you access media through a form from another plugin. I find it only effects the lower part of the page (more than 7 files needed in list mode, 4 rows needed in small grid mode, and effects can be seen in second row in large grid mode) |
I use Google Canary and I know the last few months I have seen loads of scrolling bugs and even reported it to Google. I would be interested to know if you install Google Canary, found here: https://www.google.com/chrome/canary/ And see if the issue still continues? As Google Canary V78 has fixed the scrolling bugs (most of them). And this issue I saw a few months back when Google Canary was using V76. Timeline of Chrome errors with scrolling I've seen was like this: V76 - 100% scrolling errors. It's even worse on Edge browser, see here: #4417 But I closed that issue down as the Edge project is dead and they switched over to using Chromium now. [edit] My point is that you need test the issue to see if it's to do with October or Chrome or both. (I didn't bother reporting it weeks ago as I saw it was to do with Chrome). |
@bennothommo no difference =( With smooth scrolling disabled, the same thing happens. |
Seems more Chrome related than OctoberCMS, I am having the same problem on a site that is on build 447 |
@roojai I'm leaning towards that too, given what I've read about these types of issues with Chrome (I still haven't been able to replicate myself). Just to narrow this issue down further, can you test it with Firefox and let me know if that exhibits the same issue? |
@bennothommo When I reported this issue to Chrome 2 months ago the Chrome team told me it's an issue with the "hardware acceleration" inside Chrome. Maybe people can try disabling it. Not sure if this was the tag:
p.s. for me it didn't work on a windows 10. But others said it worked on a MAC. [edit] The solution decided upon was basically the Chrome hardware acceleration and the windows one had an issue working together. When I saw the gifs here, they look exactly the same as what I saw 2 months ago. |
@pavelmgn yep, it's a problem with this workaround. You can try to set |
We've got a lot of October sites and clients are complaining. But it is indeed a chrome issue. There's a quick fix. Just paste this in your Settings > Customize Back-End > Styles tab.
When chrome fixes this bug, just remove it again. |
I just set fixed height for scroll wrapper and got October's scroll behaviour without flickering. So, full workaround looks like this:
-div[data-control="media-manager"] .control-scrollpad{position:absolute;left:0;top:0}
-div[data-control="media-manager"] .scroll-wrapper{position:relative}
+div[data-control="media-manager"] .scroll-wrapper{height:calc(100vh - 300px)} Or you can add following stylesheet to Settings › Customize Back-End › Styles: div[data-control="media-manager"] .control-scrollpad{position:static}
div[data-control="media-manager"] .scroll-wrapper{height:calc(100vh - 300px)} |
Is working for me ok.
Gives me a blank page in media manager |
Please tell me what browser you are using to get this issue |
Sorry, I am using chrome Version 76.0.3809.132 (Official Build) (64-bit) on windows |
@bennothommo I have just updated my Google Chrome to 77.0.3865.75 version. And I still have the same problem. |
Thanks to Grawl for the CSS needed to fix the issue. The backend updates didn't work for me, but the mediamanager.css file updates did. As a note for others though, you'll also need to update if you use the October less compiler (like we do for our deployment process). If you don't update the less file then if you run "php artisan october:util compile [assets|less]" then the mediamanger.css file will be overwritten. - .control-scrollpad {
- position: absolute;
- left: 0;
- top: 0;
- }
.scroll-wrapper {
- position: relative;
+ height: calc(~"100vh - 300px");
} Note that the calc has a ~ in there so that the less compiler doesn't try to evaluate the expression at build time. Without it you end up with the wrong css. |
It's reported fixed in Chrome 78. |
Latest stable is 77 |
@Grawl please try updating to 78 and see if it has been fixed. |
Ok PR submitted. There were two issues causing the error, these are as follows:
Please can some people test out my PR and shout at me - when needed, pr is here: #4632 |
Just checked for updates and it's still 77 |
Chrome update 78 fixed it for me |
I confirm that chrome v.78 has fixed this issue |
Great, will leave it open until 460 is released at least |
This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see action on it, please respond and we will get the ball rolling. |
@LukeTowers Issue still fixed with |
If you or your clients use Firefox, I suggest adding this commit to fix it: 1e449c8 🔥🔥🔥 |
Description:
Flickering on Media manager files. If you open Media manager folder with a lot of files and try to scroll down to the last you will see flickering, and you are unable to select any of the files. Something i noticed is that if you resize browser window it stops flickering and is working fine. You can see this issue bellow:
Steps To Reproduce:
Just open Media manager
Create folder and upload many images
Try to scroll down to the latest
Flickering!
The text was updated successfully, but these errors were encountered: