Forum Stats

  • 3,825,755 Users
  • 2,260,558 Discussions
  • 7,896,660 Comments

Discussions

Strange Problem with Universal Theme, jQuery and APEX 5 on Windows 8.1

13»

Answers

  • Roadling
    Roadling Member Posts: 295 Bronze Badge
    edited May 8, 2015 10:18AM

    OS: Windows 8.1 Professional

    Touch Device: Yes



    Browser: Firefox 37.0.2

    Yes = works as expected   No = Not working as expected

    For application 77638 without jQuery Migrate:

    Interactive Report Test - NO

    Datepicker Test - NO

    Tabular Form Datepicker Test - No

    Dynamic Action Test - Yes

    JavaScript Click Test - Yes

    JavaScript fastClick Test (Using the fastClick library) - Yes

    For application 97763 with jQuery Migrate

    Interactive Report Test - NO

    Datepicker Test - NO

    Tabular Form Datepicker Test - No

    Dynamic Action Test - Yes

    JavaScript Click Test - Yes

    JavaScript fastClick Test (Using the fastClick library) - Yes


    -----------------------------------------

    Browser: IE 11.0.9600

    For application 77638 without jQuery Migrate:

    Interactive Report Test - Yes

    Datepicker Test - Yes

    Tabular Form Datepicker Test - Yes

    Dynamic Action Test -  No

    JavaScript Click Test -  No

    JavaScript fastClick Test (Using the fastClick library) -  No

    For application 97763 with jQuery Migrate

    Interactive Report Test - Yes

    Datepicker Test - Yes

    Tabular Form Datepicker Test - Yes

    Dynamic Action Test -  No

    JavaScript Click Test -  No

    JavaScript fastClick Test (Using the fastClick library) -  No


    -----------------------------------------


    Browser: Chrome 42.0.2311


    Yes = works as expected   No = Not working as expected

    For application 77638 without jQuery Migrate:

    Interactive Report Test - NO

    Datepicker Test - NO

    Tabular Form Datepicker Test - No

    Dynamic Action Test - Yes

    JavaScript Click Test - Yes

    JavaScript fastClick Test (Using the fastClick library) - Yes

    For application 97763 with jQuery Migrate

    Interactive Report Test - NO

    Datepicker Test - NO

    Tabular Form Datepicker Test - No

    Dynamic Action Test - Yes

    JavaScript Click Test - Yes

    JavaScript fastClick Test (Using the fastClick library) - Yes

    Regards,

    Brad

    Denes Kubicek
  • Anthony Rayner-Oracle
    Anthony Rayner-Oracle Member Posts: 732 Employee
    edited May 8, 2015 12:01PM Answer ✓

    Brad, thanks so much for running those test.

    On speaking with the main developers of Universal Theme this afternoon, we have now pinpointed what we believe to be the cause of this issue. There is code in Universal Theme which uses hammer.js, and applies some fast click logic to all links and buttons, with a few exceptions. We believe it is this code that may be causing all these issues.

    Please hold fire on performing any more tests as previously requested, apologies for any time wasted on doing so. We will follow up on this thread with findings, as soon as we can.

    Thanks again for all your help, thus far.

    Regards,

    Anthony    

    Denes Kubicek
  • Denes Kubicek
    Denes Kubicek Member Posts: 6,163 Bronze Crown
    edited May 8, 2015 2:06PM

    Hello Anthony,

    I created a Dynamic Action on the Global Page 0 and it runs on Page Load executing the script you asked me to test:

    window.Modernizr.touch = false;

    This seems to fix the issue for FireFox and Chrome. IE behaves still the same way as before.

    Thanks and Regards,

    Denes Kubicek

  • timothyscottchambers-Oracle
    timothyscottchambers-Oracle Member Posts: 41
    edited May 11, 2015 9:41AM

    Hi,

    To add onto Denes remark, if you wish to disable the fast-click action for Window 8 devices, but enable it for non-windows-8 mobile devices, please insert the following code into your "Execute JS" dynamic action on your global page.


    (function() { var ua = navigator.userAgent.toLowerCase(); if (/windows nt 6.2/.test(ua) || /windows nt 6.3/.test(ua)) { window.Modernizr.touch = false; } })();


    This code simple checks if you're using windows 8, and then disables the fast-click handling. Otherwise, it allows the normal fast-click detection then application to work.


    Please let me know if there any issues.


    Sincerely,

    Tim

    Denes Kubicek
This discussion has been closed.