Help Can't reveal hidden text on iOS

Discussion in 'Feedback & Assistance' started by DigitalAtlas, Oct 16, 2014.

  1. DigitalAtlas Don't wake me from the dream.

    Joined:
    Oct 1, 2006
    Location:
    Blossom City
    2,335
    [​IMG]

    This is what happens when you highlight hidden text on iOS. Happens in multiple browsers (Safari and Chrome tested)

    You can copy it and paste it in the quick reply to see it, but that's a bit rudimentary.

    Mentioned to @Misty in the thread this screen is from.

    Porn section.

    -Atlas
     
  2. libregkd -

    Joined:
    Sep 30, 2006
    2,902
    Do you have JavaScript enabled? It is needed to make the hidden tags work. I don't have access to an iOS device currently but I'll get to checking to see if it's a problem with iOS itself or not.

    EDIT: just noticed you said highlighting. Have you clicked/tapped on the blacked out text? How the tag works is that it remains hidden until it is clicked/tapped and it then reveals the text. Another click then re-hides it.
     
    Last edited: Oct 16, 2014
  3. Makaze Some kind of mercenary

    Joined:
    Jan 22, 2011
    Location:
    The Matinée
    1,207
    That particular function is not what he means, but even then, he tested in two browsers.

    About the clicking. It works for some iOS users but not others (just tested it). I have a suspicion about why.

    Some versions of iOS don't fire a click event with a touchstart event. I tested it by binding a touchstart after binding the click event that fires the click event subsequently. This type of code will work (without bugs as far as I know). Example:
    Code:
    $(selector).on('click', function() {
    	$(this).toggle();
    });
    
    $(selector).on('touchstart', function(event) {
    	event.preventDefault();
    	this.click();
    });
     
    Last edited: Oct 16, 2014
  4. libregkd -

    Joined:
    Sep 30, 2006
    2,902
  5. Makaze Some kind of mercenary

    Joined:
    Jan 22, 2011
    Location:
    The Matinée
    1,207
    I don't know since neither were mine. SJ's was one. I'll be able to tell you the other in about a half hour.

    It's impossible to test for OS version or even the browser being used reliably regardless, so don't break a sweat testing it on all of them. Unless you can find a way to reliably test for the version (which I would want myself).
     
    Last edited: Oct 16, 2014
  6. DigitalAtlas Don't wake me from the dream.

    Joined:
    Oct 1, 2006
    Location:
    Blossom City
    2,335
    Notice it's highlighted.

    Notice it's also highlighting vacant space. It's treating the text like a picture, so the only way I can highlight it like that is to touch it.
     
  7. libregkd -

    Joined:
    Sep 30, 2006
    2,902
  8. DigitalAtlas Don't wake me from the dream.

    Joined:
    Oct 1, 2006
    Location:
    Blossom City
    2,335
    [​IMG]
     
  9. Misty gimme kiss

    Joined:
    Sep 25, 2006
    Gender:
    Cisgender Female
    Location:
    alderaan
    6,590
    Installed an update Nick sent me a while back (my b), this should be sorted!