• Resolved koganas

    (@koganas)


    I had problems using collapse-o-matic on mobile, so i’ve searched what could be the issue and got to these topics:

    Topic 1
    Topic 2

    I would suggest using “touchstart” event also with the click, so it could work normally on mobile (i’ve just tested in safari):
    jQuery(document).on(‘touchstart click’, ‘.collapseomatic’, function(event)

    Currently i am using the <div onclick=”void(0);”> solution and it’s fine.

    • This topic was modified 7 years ago by koganas.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author twinpictures

    (@twinpictures)

    The only issue we have experienced that will prevent the expand/collapse on mobile is if the CSS has been modified to change the cursor. The standard ‘pointer’ cursor must be used for expand elements to ensure they work on mobile.

    Regardless, we will test the touchstart event and add it to the next version of the plugin.

    Thank you for the useful feedback!

    Thread Starter koganas

    (@koganas)

    I think is a specific issue that occurs generally with mobile safari.

    Plugin Author twinpictures

    (@twinpictures)

    Just tested it on a number of devices and all examples are performing as expected. Do you have a specific setup that is not working across multiple devices?
    Or can you at least share a link so we can help troubleshoot? As it is we can not reproduce your issue on mobile safari.

    Plugin Author twinpictures

    (@twinpictures)

    Please update to version 1.7.7g available from GitHub. This version includes touchstart to click bindings. Any feedback is welcome.
    Issue marked as resolved.

    Thread Starter koganas

    (@koganas)

    It was a really specific issue, i was using collapse o matic in more than one element and it wasn′t triggering in mobile safari. But it is resolved after this updates. Thank you.

    Plugin Author twinpictures

    (@twinpictures)

    Glad it worked out. We’ll push out an update on Tuesday, November 28th.

    Plugin Author twinpictures

    (@twinpictures)

    We are starting to get feedback from users regarding an issue of the expand elements expanding when scrolling over them on mobile devices. Are you experiencing the same behaviour?

    We will make the touchstart trigger an option on the next version.

    Thread Starter koganas

    (@koganas)

    I am not having any issues. I am using the onclick=”void(0);” solution yet and i am having no problem at all. I think it′s better to be an option, because it is necessary in some cases, but in other cases it probably could cause other issues.

    ilew

    (@ilew)

    I’ve noticed that since the update, on mobile there is odd behavior with the toggle opening on tapping and then immediately closing again. If you tap and hold it seems to stay open.

    Example here (works fine on desktop, issue is mobile specific). https://geekymedics.com/a-rather-yellow-looking-lady/

    Plugin Author twinpictures

    (@twinpictures)

    Hello,
    Thanks for the feedback. We are aware that the update is causing issues on some mobile devices. We’ll have an update in the next hours that makes this new feature an option. In the meantime, please revert back to version 1.7.6 from here: https://www.ads-software.com/plugins/jquery-collapse-o-matic/advanced/

    ilew

    (@ilew)

    Ok thanks, fixed after reverting.

    Plugin Author twinpictures

    (@twinpictures)

    version 1.7.8a from GitHub moves the touchstart binding to an option that can be set from the plugin options page.

    We’ll test further and push the update out to the repo in the next hours.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Suggestion – click event with touchstart’ is closed to new replies.