gracenote Posted July 27, 2014 Share Posted July 27, 2014 Hi guys, I have PrestaShop™ 1.6.0.6 My theme is called bicycle. I got it here: http://prestadevelop...ycle-theme.html The theme is responsive. Anyway, I tested my site on my tablet (I've only been working with it on a laptop so far). On my tablet, I visit a product page (this page, for example: ). I try to make a selection from the three different drop down selections on my product page, but the selections only show for less than a second and then disappear. I don't get a chance to select which option I want for my product! Help, please. Link to comment Share on other sites More sharing options...
gracenote Posted July 28, 2014 Author Share Posted July 28, 2014 Forgot to mention... my web site is www.penguinyell.com Link to comment Share on other sites More sharing options...
gracenote Posted July 28, 2014 Author Share Posted July 28, 2014 This seems to be happening to all drop down option selections when I access my web site from my tablet. For example, in checkout, I try to select my state, and I am unable to because the drop down list shows up for less than a second then disappears. Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2014 Share Posted July 28, 2014 hello, you mean that you have something like this: ? http://forge.prestashop.com/browse/PSCSX-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel 1 Link to comment Share on other sites More sharing options...
gracenote Posted July 28, 2014 Author Share Posted July 28, 2014 (edited) Hi Vekia, It's just like that, except it ONLY happens for drop down options. (For example, here is one prouduct on my site - you try to select options for weight, the weight options show up for less than a second, then disappear. The other stuff, like categories and cart are working fine. Thank you! Edited July 28, 2014 by gracenote (see edit history) Link to comment Share on other sites More sharing options...
gracenote Posted July 28, 2014 Author Share Posted July 28, 2014 The code in my blocktopmenu.js file is different from what I see in the github link: https://github.com/PrestaShop/PrestaShop/commit/43cebac3dcb6fcd4856d3a98593da242715782e4 My code reads as follows, it's at the end where it's different: var responsiveflagMenu = false; var categoryMenu = $('ul.sf-menu'); var mCategoryGrover = $('.sf-contener .cat-title'); $(document).ready(function(){ responsiveMenu(); $(window).resize(responsiveMenu); }); // check resolution function responsiveMenu() { if ($(document).width() <= 767 && responsiveflagMenu == false) { menuChange('enable'); responsiveflagMenu = true; } else if ($(document).width() >= 768) { menuChange('disable'); responsiveflagMenu = false; } } // init Super Fish Menu for 767px+ resolution function desktopInit() { mCategoryGrover.off(); mCategoryGrover.removeClass('active'); $('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove(); $('.sf-menu').removeAttr('style'); categoryMenu.superfish('init'); $('.sf-menu > li > ul').addClass('submenu-container clearfix'); //add class for width define i = 0; $('.sf-menu > li > ul > li:not(#category-thumbnail)').each(function(){ //add classes for clearing i++; if(i%2 == 1) $(this).addClass('first-in-line-xs'); else if (i%5 == 1) $(this).addClass('first-in-line-lg'); }); } function mobileInit() { categoryMenu.superfish('destroy'); $('.sf-menu').removeAttr('style'); mCategoryGrover.on('click', function(){ $(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium'); }); $('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend('<span class="menu-mobile-grover"></span>'); $(".sf-menu .menu-mobile-grover").on('click touchstart', function(){ var catSubUl = $(this).next().next('.menu-mobile'); if (catSubUl.is(':hidden')) { catSubUl.slideDown(); $(this).addClass('active'); } else { catSubUl.slideUp(); $(this).removeClass('active'); } return false; }); if ('ontouchstart' in document.documentElement) { $('#block_top_menu > ul:first > li > a').on('click', function(e){ if ($(this).parent('li').find('ul').length) e.preventDefault(); }); } } // change the menu display at different resolutions function menuChange(status) { status == 'enable'? mobileInit(): desktopInit(); } Link to comment Share on other sites More sharing options...
gracenote Posted July 28, 2014 Author Share Posted July 28, 2014 This is frustrating. I thought perhaps it might be my theme. So I put my site on the bootstrap theme. Same problem there. Went back to my bicycle theme. I also tested my site (penguinyell.com) on both of my mobile devices (both on android) - a samsung tablet and an lg smart phone. Problem still there. Link to comment Share on other sites More sharing options...
jazzin Posted August 18, 2014 Share Posted August 18, 2014 I am having trouble with my drop downs disappearing after being clicked on mobile. Were you able to find a solution? Link to comment Share on other sites More sharing options...
gracenote Posted August 18, 2014 Author Share Posted August 18, 2014 Hi jazzin! Sorry to say, the only solution I came to was hiring someone to take care of it for me. Link to comment Share on other sites More sharing options...
jazzin Posted August 18, 2014 Share Posted August 18, 2014 Hi jazzin! Sorry to say, the only solution I came to was hiring someone to take care of it for me. But, you were able to get it fixed? Do you happen to know what they did to fix the issue? What version of Prestashop are you running? I'm curious if I upgrade to the latest version it may help. Link to comment Share on other sites More sharing options...
gracenote Posted August 18, 2014 Author Share Posted August 18, 2014 Hi Jazzin, The guy I hired was able to fix it. There were a few bugs after the initial fix, but he was quick to resolve those too. I don't know what he did to fix it -- it appeared to me like quite a bit of complex coding was involved. He spent a day on it, and then another day resolving bugs. And this guy is a trained developer. I run prestashop 1.6 I really hope you're able to resolve it. It really is frustrating. Link to comment Share on other sites More sharing options...
jazzin Posted August 18, 2014 Share Posted August 18, 2014 I'm running 1.6.0.6, and I'm going to try and upgrade to 1.6.0.9 to see if it resolves anything. Apparently they fixed some caching issues after 1.6.0.6, so I'm keeping my fingers crossed. Link to comment Share on other sites More sharing options...
gracenote Posted August 19, 2014 Author Share Posted August 19, 2014 I just checked for the exact version I'm running. It's 1.6.0.6 Wishing you the best! I'd be interested to know if the upgrade resolves your problem. Link to comment Share on other sites More sharing options...
qoogio Posted November 1, 2014 Share Posted November 1, 2014 I am having the same problem on 1.6.0.6. Gracenote, can msg me contact of the developer you used ? Link to comment Share on other sites More sharing options...
gracenote Posted November 1, 2014 Author Share Posted November 1, 2014 Sure! Let me look that up for you. I'll pm you shortly. Link to comment Share on other sites More sharing options...
mr913 Posted August 18, 2015 Share Posted August 18, 2015 Has anyone found a solution for this? I'm using 1.6.0.14 and still have this issue. Thanks! Link to comment Share on other sites More sharing options...
InnovatecInc Posted August 24, 2015 Share Posted August 24, 2015 Having the same issue on tablets - Samsung - with default browser. Is there no solution? s Link to comment Share on other sites More sharing options...
trevorgilligan Posted August 25, 2015 Share Posted August 25, 2015 i have same problem with products attributes. i saw this dont know if it works yet might help someone from @nouvellvape https://github.com/PrestaShop/PrestaShop/commit/fc1c1f3dfe362c7298b84a761ff3184ac47f0a8d Link to comment Share on other sites More sharing options...
gergoo Posted September 21, 2015 Share Posted September 21, 2015 Hello, This issue appeared to me too, and I realized that the root of the problem is when you open the select on the Samsung browser (sbrowser or called simply internet) it fires the resize event. At the bottom of the 15-jquery.uniform-modified.js there is a resize event whis is updating all of the uniformized selects and file inputs. This update makes the open drop downs close. My solution is for simply not listening to this event if the user agent has 'SAMSUNG' in it. Maybe there is a better solution for this, but right now I don't have more time for this. the changed part at the end of the file: // refresh uniform selects on document width change if (navigator.userAgent.indexOf('SAMSUNG') == -1 ) { $(window).resize( function () { //there is a bug with this on the default samsung browser called sbrowser or 'internet' on the samsung devices by default. opening the select is firing a resize event. simply we don't care about the resize here on these browsers. $.uniform.update("select.form-control, input[type='file']"); } ); } Link to comment Share on other sites More sharing options...
newcomer Posted February 23, 2016 Share Posted February 23, 2016 Having this issue too. Do you mind sending the developer contact to me too? Link to comment Share on other sites More sharing options...
Recommended Posts