Tagged: iphone, mobile menu
-
AuthorPosts
-
September 28, 2019 at 4:58 pm #1143016
Hi there,
with a recent update the mobile menu stopped scrolling correctly. We now have the issue that the menu is visible on mobile but if you start to scroll you scroll the partially hidden layer beneath it. Totally strange and we need to fix that. I did a brief check and it does not seem to be related to our custom css.
Please help as the navigation is basically unusable.
Thanks,
ElSeptember 29, 2019 at 8:27 pm #1143145Hey aerobis,
Thank you for the link to your site, I have reviewed this issue on your site and found that if someone touches on the burger menu icon and drags it to the top it scrolls the page instead of the menu. This also occurs if the hidden Trust Badge container at the top of the menu is touched and dragged.
I tested the last 6 versions of the theme to see if this is a recent change causing this, but it is not. I believe the reason this is more apparent to you is that there is a lot of padding at the top of your burger menu moving the burger icon down 300px, when compared to the standard menu layout, and thus when the menu is opened the icon is right where someone’s thumb would go, at least for me.
So after testing a few possible solutions I found this to work the best, it will prevent the “dragging” of the icon but still allow it to be “clicked” should someone wants to, please add this code in the WordPress > Customize > Additional CSS field:html.av-burger-overlay-active .menu-item-avia-special { touch-action: none !important; }
and please deactive your “Fast Velocity Minify” plugin and any other caching and then clear your browser cache.
I would also suggest reducing the space at the top of the burger menu so it’s less likely that someone will try to drag the icon when scrolling the menu.Best regards,
MikeSeptember 29, 2019 at 8:49 pm #1143155Hi Mike,
thank you but the icon is not really the issue. The hole navigation can’t be scrolled and instead you scroll the layer underneath. I implemented your code but it does not change the actual issue.
There is something off with the actual layers. It seems like it priorities the layer of the layer slider over the actual menu on top of it. If I scroll lower then this behavior is gone and I can touch and move the menu like it is supposed to.
Best,
ElSeptember 30, 2019 at 1:05 am #1143175Hi,
Thank you for the video, it is as I had thought. I checked your site again and see that you have included the css above and now the error doesn’t occur on Windows or Android, I will attach videos in the Private Content area. My videos show where the screen is being touched.
So I thought that this error was still occurring for you due to your browser cache, but as I look into it deeper I found that Safari doesn’t support touch-action So I tried to solve with z-index, but it didn’t work well. Perhaps if we move the icon back to the top of the screen it would solve the accidental issue, did you want the menu and icon so far down?
Another option would be to hide the close icon with display:none but that is really not a good option.
Please deactivate your “Fast Velocity Minify” plugin while we assist because it is duplicating some of your css rules, which could be causing errors on its own. Also, the Trust Badge container at the very top of the menu can be touched and drag the background page, so please disable that plugin also just so we can ensure we are not getting a leak from it.Best regards,
MikeSeptember 30, 2019 at 4:21 pm #1143408Hi Mike,
thank you for the detailed answer. Actually I did not move the icon downward on purpose. Maybe it is a collateral of being positioned with responsive design? I deactivated the FVM and also disabled the Trustbadge and emptied the caches. Same problem.
Best,
ElmarOctober 1, 2019 at 7:30 am #1143575Hi,
Please try moving the menu up a little, to do so first look in your child theme stylesheet for this and remove it:/* Enfold mobile menu higher to top */ #top #av-burger-menu-ul { padding: 150px 0px !important; }
then add this:
@media only screen and (max-width: 767px) { .responsive.av-burger-overlay-active #top #wrap_all .main_menu { top: -70px !important; right: -80px !important; } .responsive.av-burger-overlay-active #top #av-burger-menu-ul { vertical-align: top !important; padding: 35px 0 0 0 !important; } }
Then clear your browser cache and any cache plugin, and check.
Please see the screenshot in Private Content area of the expected results.Best regards,
MikeOctober 1, 2019 at 9:43 am #1143607Hey Mike,
did that and it does look better visually. No changes to the layer issue though.
Best,
ElmarOctober 2, 2019 at 5:12 am #1144042Hi,
Thanks for trying, I’m asking someone from the team to check with an iPhone, perhaps they will find a better solution.
Thank you for your patience.Best regards,
MikeOctober 2, 2019 at 8:55 am #1144093Hi,
I just checked your website on my iphone but mobile menu works fine on my end. I attached a video in private content field.
It only scrolls the content when i scroll outside of menu.Could you please flush browser cache on your iphone and check once again?
Cheers!
YigitOctober 2, 2019 at 9:52 am #1144109Hi there,
I just did delete everything and also all server Caches. Additionally used a private window. The problem persists.
Maybe it is a new behavior of iOS13 or its Safari?
Best
ElOctober 3, 2019 at 7:54 pm #1144601Hi guys,
any news? It is still broken.
Best,
ElOctober 3, 2019 at 8:16 pm #1144614Hi,
I am currently updating my IOS version to the latest. I will check once again and update you as soon as possible.
Regards,
YigitOctober 3, 2019 at 8:55 pm #1144619Appreciated Yigit! Tested with another iOS13 device – same result.
October 3, 2019 at 10:00 pm #1144630Hi,
Apparently this is related to changes made in the latest version of Safari as i can now reproduce the issue.
Could you please create temporary admin logins and post them here privately?Best regards,
YigitOctober 4, 2019 at 1:15 pm #1144972This reply has been marked as private.October 5, 2019 at 6:07 pm #1145333This reply has been marked as private.October 7, 2019 at 12:04 pm #1145732Hi,
I tried adding some custom CSS codes but those did not fix the issue. I reported the issue to our devs.
For temporary solution, please consider using “Full Page Overlay Menu” in Enfold theme options > Main Menu > Burger/Mobile Menu > Menu Overlay StyleBest regards,
YigitOctober 7, 2019 at 1:44 pm #1145752Hi Yigit,
thank you. The other menu has the same issue. The whole site is no longer really functional for iOS users.
Did you have a look at the search issue also reported in thread: https://kriesi.at/support/topic/wp-caught-error-in-admin-ajax/
Best,
ElOctober 9, 2019 at 8:33 pm #1146634Hi Yigit,
please let me know the fix to get this working again.
Best
ElmarOctober 15, 2019 at 9:10 am #1147998Hi Yigit,
the issue is still unresolved. When can we expect this to work?
Best,
ElOctober 17, 2019 at 4:59 am #1148769Hi,
Sorry for the delay. The following css code should help prevent scrolling in the main container when the burger overlay is active.
.av-burger-overlay-active #top, .av-burger-overlay-active { overflow: hidden; }
Please don’t forget to toggle the Performance > File Compression settings after adding the code.
Best regards,
IsmaelOctober 17, 2019 at 7:18 am #1148800Guys,
this blocks ALL scrolling… also that off the actual menu. Please – help to fix this we need a real solution here.
Best,
ElOctober 17, 2019 at 8:07 am #1148804Actually I think it might be related to this iOS bug and the only solution seems to be to add a little js. Can you help to implement a fix in enfold?
Best,
ElOctober 21, 2019 at 12:04 pm #1149826Hi,
Thank you for the follow up. Try to remove the first selector in the previous css.
.av-burger-overlay-active { -webkit-overflow-scrolling: touch; overflow: hidden; }
This is what should happen after adding the code.
Screeshot: https://imgur.com/a/bjW7DYV
As you can see in the screenshot, only one scroll bar remains.
Best regards,
IsmaelOctober 22, 2019 at 11:11 am #1150114Hi Ismael,
nope doesn’t work. Please test this on iOS. This is getting ridiculous.
Best,
ElmarOctober 24, 2019 at 10:34 am #1150813Hi,
Sorry about that. We tried to create an overlay behind the mobile menu to cover the main container and hopefully prevent scrolling of the background layers, but it didn’t work. Seems to be an issue with the new iOS update as mentioned.
The issue has been reported to the dev team, so hopefully they will find a solution. We’ll get back to you once it is available.
Thank you for your patience.
Best regards,
IsmaelOctober 24, 2019 at 11:40 am #1150851Did you see my link I posted a while back? It can be solved with JavaScript event handlers!
Here is the link (number 1 answer is the script):
https://stackoverflow.com/questions/41594997/ios-10-safari-prevent-scrolling-behind-a-fixed-overlay-and-maintain-scroll-posiOctober 24, 2019 at 11:53 am #1150857Hi!
Did you see my link I posted a while back? It can be solved with JavaScript event handlers!
Yes, we included that in the report and we are currently testing it because it looks promising. We’ll let you know.
Cheers!
IsmaelOctober 28, 2019 at 11:57 am #1151708Hey El!
I started implementing a JavaScript solution on your site, but today I can’t seem to access the admin.
Have you revoked permissions for the ‘tec_support’ user?Cheers,
TinaOctober 28, 2019 at 12:43 pm #1151716This reply has been marked as private. -
AuthorPosts
- The topic ‘Mobile Menu stuck’ is closed to new replies.