← Back to team overview

mahara-contributors team mailing list archive

[Bug 1592213] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6623
Committed: https://git.mahara.org/mahara/mahara/commit/266d26fcb578ca9252bdaf3516ca60b93b13b7d8
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    15.10_STABLE

commit 266d26fcb578ca9252bdaf3516ca60b93b13b7d8
Author: Pat Kira <pat.kira@xxxxxxxxxxxxxxx>
Date:   Thu Jun 23 13:03:12 2016 +1200

Bug 1592213 - Fixed skin overlapping each other

Removed Masonry as all skin items are the same height, the layout of the
page can be acheived with css only

behatnotneeded

Change-Id: I4a469dc4698b5b06e53fa6310f2dc3f55ea23cab
(cherry picked from commit 1a60bcbb8e5c5e6c6eafe9fa3ab4b5cfed95817f)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1592213

Title:
  Render issue with Masonry on Skins page

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  On the page skin/index.php, when you create more than 3 skins, masonry
  fails to calculate the content and positions a skin box in the wrong
  position.

  This always happens on page load when the function initUserThumbnailsMasonry() fires (theme.js).
  From what i can see, when the function is called, content is not loaded, therefore creating a wrong dimension. Not 100% sure but if you follow the steps bellow maybe it will help determine the cause.

  1. go to /skins/index.php.
  2. create 4 new skin. Skin boxes will all align correctly.
  3. Refresh the browser.
  4. Notice the 4th skin box absolute positioning is incorrect and overlaps box 3.
  5. Open up browser developer tools, navigate to view the raw js "theme.js".
  6. Scroll to line 129 and add a break-point and refresh the browser.
  7. Click through the break-point and the Skins will load correctly.
  or
  7. Click on a navigation link to open a new page eg "Shared with me" then go page to skins page via the link.
  8. If you have the break-point set on the js, it will load correctly. If not, it will break.

  I have tested this a bit and it doesn't always work :) Sometime if you
  refresh the page, it works. Other times it doesn't.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1592213/+subscriptions


References