Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It only occurs on iPhone with url field forn enter blank, on iPad it works well.
I think the the default link is not working on iPhone, but I have no time to check
<a href="javascript:void(0);" id="disclaimer_enter">
Comment | File | Size | Author |
---|---|---|---|
#16 | disclaimer-enter-fix-2241571-16.patch | 822 bytes | klokie |
Comments
Comment #1
rollingnet CreditAttribution: rollingnet commentedComment #2
rollingnet CreditAttribution: rollingnet commentedComment #3
rollingnet CreditAttribution: rollingnet commentedComment #4
Shane Birley CreditAttribution: Shane Birley commentedThis just popped up for me. Any thoughts?
Comment #5
Shane Birley CreditAttribution: Shane Birley commentedI have tested this on:
I can confirm that selecting the "Yes" option redirects back and reloads the Colorbox overlay and denies entry to the site. On desktops/tablets, it works as expected.
Comment #6
Dr.Osd CreditAttribution: Dr.Osd commentedI have same issue on lenovo s920 Android 4.4.2 (Opera mini and Chrome). Yes button not work.
Comment #7
rollingnet CreditAttribution: rollingnet commentedSolution found!
I've inserted this code in disclaimer.js (sorry, I don't know git and I'm not able to create a patch!)
in $(document).ready(function(){
and I comment out the click function
Please someone make a patch and submit it
Comment #8
wrender CreditAttribution: wrender commentedThanks for submitting the patch. I am seeing this same issue on Samsung Galaxy S3 with Chrome. It works fine on the default web browser that comes with Galaxy S3 though.
I will try the patch out...
Comment #9
wrender CreditAttribution: wrender commentedUpgrading the colorbox library version and clearing the drupal caches resolved the issue for me. I did not need to comment out that section. The download link for the library is available here: https://www.drupal.org/project/colorbox
Comment #10
MariannevdS CreditAttribution: MariannevdS commentedIn my case I was able to fix this, in the colorbox settings.
In 'advanced settings' there is an option 'mobile detection' it was switched ON when I switched it OFF the problem was gone and the Disclaimer functions on phones right away.
Comment #11
mogtofu33 CreditAttribution: mogtofu33 commentedThis is strange, mobile detect is not really used in colorbox module code, there is an option but it is never used... need review with last colorbox version (7.x-2.8) to confirm it works... or not!
Comment #12
knalstaaf CreditAttribution: knalstaaf commentedThe touch areas seem to be out of place for several mobile phones (iOS and Android alike) in my case.
When I want to select the month, I have to touch the area next to the "Enter"-button ("Verder", see attachment). None of the select fields expand or respond when touching them. Visitors have to feel their way in.
This can only be reproduced on an actual phone. None of the above suggestions work for me.
Comment #13
mogtofu33 CreditAttribution: mogtofu33 commentedI cannot reproduce on android device, are you sure there is no conflict with your css? try with clean default css.
Comment #14
knalstaaf CreditAttribution: knalstaaf commentedYou're right, I'm sorry to bother. Reading through the posts above I thought mine was related.
The behaviour I described was caused by a negative top-margin applied to an underlaying element (the logo of the website more exactly). Eventhough it was invisible underneath the colorbox, it shifted the activitaion point of the select fields. No idea why this occured, but I'm glad it's figured out (and solved).
Comment #15
mogtofu33 CreditAttribution: mogtofu33 commentedConcerning yes button problem, i cannot reproduce on ios, android with last colorbox version (7-2.8).
Comment #16
klokie CreditAttribution: klokie commentedI saw the same problem in both Safari and Chrome on iOS 7 and 8, iPhone and iPad.
I was able to fix it by replacing the oldschool
href="javascript:void(0);"
(as noted by the OP) with a simplehref="#"
. Patch attached.Comment #18
mogtofu33 CreditAttribution: mogtofu33 commentedThanks for the patch, added to last release.