M41 | Unable to scroll when not in a tile

M41 | Unable to scroll when not in a tile

by Gemma Lesterhuis -
Number of replies: 11
Picture of Plugin developers Picture of Testers

Hello, I seem to be unable to scroll outside of the highlighted area of a format_tile tile as shown in the video when using Boost Union.

  • Used moodle version: 4.1
  • Used plugin version: 4.1.0.2 / 2023030500
  • Used theme version: v4.1-r7 / 2023010511
  • Video:

 It is suspected that it has to do with the Javascript code that is used in the courseformat, but causes a conflict in Boost /Union theme since it does work in the classic theme.

 Question currently is, is it fixable by adding some CSS code in the "Raw SCSS code"?

And if this should be fixed in the theme or in the courseformat.

(Edited by Gareth J Barnard - Title clarification from "Unable to scroll when in a tile" to "Unable to scroll when not in a tile" - original submission Wednesday, 7 June 2023, 9:20 AM)

Average of ratings: -
In reply to Gemma Lesterhuis

Re: M41 | Unable to scroll when in a tile

by Luiggi Sansonetti -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi

I have the same bug, but for some users it's ok for them, because they use Safari on Mac...

Have you tested with Safari ?
In reply to Luiggi Sansonetti

Re: M41 | Unable to scroll when in a tile

by Gemma Lesterhuis -
Picture of Plugin developers Picture of Testers
it's good to know Safari on Mac does not have this issue (and no have not tested it), but sadly most of our user base uses Chrome and Firefox.
In reply to Gemma Lesterhuis

Re: M41 | Unable to scroll when in a tile

by Luiggi Sansonetti -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi

I have created an issue :
https://bitbucket.org/dw8/moodle-format_tiles/issues/158/unable-to-scroll-when-in-a-tile
(submitted but not yet reviewed...)
In reply to Luiggi Sansonetti

Re: M41 | Unable to scroll when in a tile

by Luiggi Sansonetti -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Always submitted but not yet reviewed...
😓
In reply to Luiggi Sansonetti

Re: M41 | Unable to scroll when in a tile

by Gemma Lesterhuis -
Picture of Plugin developers Picture of Testers
just checked - and still submitted but not yet reviewed. I kind of wonder how active the issues are being reviewed.
Average of ratings: Useful (1)
In reply to Gemma Lesterhuis

Re: M41 | Unable to scroll when in a tile

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Solution as the problem affects Boost / Adaptable too!  + Tiles format is also using 'pull-right' CSS class which is defined in FontAwesome 4 - deprecated - so M4.2 version may look a bit odd - not tested.

body.format-tiles #page.drawers {
    overflow: visible !important;
}

Note: Have to use important to overwrite JS style attribute on given element.


Average of ratings: Useful (1)
In reply to Gareth Barnard

Re: M41 | Unable to scroll when in a tile

by Luiggi Sansonetti -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Works as expected

Thank you Gareth

Waiting issue resolution, this css is perfect for me.
In reply to Luiggi Sansonetti

Re: M41 | Unable to scroll when in a tile

by Giovanni Paucar -
Hello:

Can you tell me how you did the css?

In reply to Giovanni Paucar

Re: M41 | Unable to scroll when in a tile

by Gareth Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Giovanni,

Essentially trial and error to work out the attribute on the given element, based upon something I'd come across years ago. Also the browser development tools (F12), skills in debugging and knowledge of CSS.

G
In reply to Gareth Barnard

Re: M41 | Unable to scroll when in a tile

by Lénaïc Genbauffe -

Hello Gareth,

This discussion is a little dated but with the proposed css code, I have a problem: When I scroll down the page and want to use the right-hand menu for the activity basket, for example, the slightest click makes the menu disappear. Would you suggest a solution?

Thanks!