Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45338

Atto selectionchanged events not fired for touch events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide

      On several devices including both touch-based, and mouse-based:

      • Standard desktop browsers
      • iOS browsers
      • Android browsers
      • Chrome in touch emulation mode

      Within Atto:

      1. Select some text
      2. Toggle bold
        • Confirm that the button state is updated

      Note, that MDL-45253 may confuse matters here. I had to stick in a Y.log() during testing to make sure that the event was called even though I wasnt' seeing it properly.

      Show
      On several devices including both touch-based, and mouse-based: Standard desktop browsers iOS browsers Android browsers Chrome in touch emulation mode Within Atto: Select some text Toggle bold Confirm that the button state is updated Note, that MDL-45253 may confuse matters here. I had to stick in a Y.log() during testing to make sure that the event was called even though I wasnt' seeing it properly.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45338-master

      Description

      The button highlighting does not trigger consistently on iOS.

      This is probably because we are listening for "click" and not "touch" events to trigger the selectionchanged event.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Dan Poltawski
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14