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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18