septeven's Recent Forum Activity

  • Ashley It will be great.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley Unless I am mistaken, when you load sth dynamically, it has to be a file which is either online or local, but if it's a local file, there's no way to specify the path of the plugin folder (where the file should be), isn't it ?

  • OK It was a known issue (that I was aware) from the original plugin.

    In fact, I added this :

    new window["iScroll"] (...,
    onBeforeScrollStart: function (e) {
    var target = e.target;
    while (target.nodeType != 1) target = target.parentNode;
    if (target.tagName != 'SELECT' && target.tagName != 'INPUT' && target.tagName != 'TEXTAREA')
    e.preventDefault();

    but this is apparently broken with the minifier and I didn't figure out to write it correctly.

    I've finally added an addEventListener directly to the input form which makes a stopPropagation.

  • OK there's some important issues when the 'minifier' option is checked in the construct 2's export properties.

    Till then I fix it, please uncheck this options when you export your project.

    Sorry for inconvenient.

  • Ashley

    Damn, I just saw that's the same thing for my style Border-radius & shadow properties. It's broken when it is exported with the minifier.

    So, how do I have to write the e.g. elem.style.borderRadius ?

    [edit]

    OK about style properties, I get it.

    elem["style"]["borderRadius"]

    But do I have to do this for ALL my style properties ??? I don't really understand why it breaks some style properties, some others not... ?

  • Ashley I tried this and unfortunately it doesn't work... It's still impossible to select text when the minifier option is checked...

  • OK I'll do that, hopefully it'll work.

    Thanks

  • Ashley

    Thanks, I'll try this, but I wonder why it didn't break whole plugin because the 'new iscroll...' established all the functions of the plugin. It creates the scrolling system. Any ideas why it breaks only the input form?

  • Ashley

    Just need again this possibility. Did you add it to your todo list ?

  • OK I've got the most annoying issue with the minifier option.

    When it's checked, all input text form in my Iscroll plugins don't work correctly, you can't select the text inside.

    I tried to export without and it works perfectly.

    I've obviously read the manual part about minifier.

    If you need to see the code, you can download the iscroll plugin.

  • newt PC touch screen, If I understand what you mean by this, use a cursor, isn't it ?

  • OK try this on ipad or iphone (or another mobile device, I guess that'll be the same).

    If Ashley can fix it (if it's obviously a bug) because it's just impossible to use form controls correctly.

    edit: it works correctly if you use the third party plugin 'touchmouse' instead of the official 'touch'...

septeven's avatar

septeven

Member since 27 Aug, 2011

Twitter
septeven has 1 followers

Connect with septeven

Trophy Case

  • 13-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

15/44
How to earn trophies