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

Flicker with HTML that should be hidden

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Quiz
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Moderate

    Description

      Pages that have javascript in 2.0 (currently at least the Quiz edit page) have gained stuff that flickers though it is only supposed to be visible when a user initiates an action to show it.

      It seems to me that the way to make content not flicker and to be only available when a user does something to show it (i.e. open dialog), is to have it hidden in the default CSS (this dialog is not supposed to be available to non-JS users at all) and then toggle it to display:block on user action with JS.

      Right? Or am I missing a reason why we cannot avoid the flicker in situations like this - for me, some extra guts of the quiz editing UI show sometimes as long as ten seconds, which can cause serious confusion for beginners and does not help make the experience smooth for anyone?

      Attachments

        Activity

          People

            timhunt Tim Hunt
            pilpi Olli Savolainen
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10