Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2557

Show more is displayed in list of forum discussions when it shouldn't

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.1
    • 3.5.2
    • Forum add-on
    • Hide
      1. In the app, go to Mobile 34 > MM Dev Testing > Forum > Standard forum ...
      2. Check that "Show more" is only displayed in the entries that need it instead of all of them. Check that you can expand the text in the cases that Show more is displayed.
      3. Now go to MM Dev Testing > Resource: Book and open "A book with embedded files" and "A book with links to capture". Check that "Show more" is displayed in the description of both cases.
      Show
      In the app, go to Mobile 34 > MM Dev Testing > Forum > Standard forum ... Check that "Show more" is only displayed in the entries that need it instead of all of them. Check that you can expand the text in the cases that Show more is displayed. Now go to MM Dev Testing > Resource: Book and open "A book with embedded files" and "A book with links to capture". Check that "Show more" is displayed in the description of both cases.
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • Moodle Mobile 3.5.2

    Description

      It happens in more places of the app, but this one is easy to reproduce. Go to a forum with several discussions, you'll see that "Show more" is always displayed in each discussion, even if the text is short.

      I think this happens because the height is calculated while core-loading displays the loading, so the elements don't have any height. It would be great that Angular doesn't execute the elements inside core-loading until they're displayed, but for now maybe we should display them outside of the view instead of hiding them.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Sep/18