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

Calendar popover misplaced in RTL languages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.2, 3.4
    • 3.3.3
    • Themes
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE
    • wip_MDL-60250_master
    • Hide
      1. Select the Clean theme.
      2. Ensure you have an RTL language pack installed.
      3. Navigate to the Frontpage.
      4. Ensure the 'Calendar' block is showing.
      5. Hover over the current date and confirm that the popover appears over the current date.
      6. Switch to an RTL language.
      7. Hover over the current date and confirm that the popover appears over the current date.
      Show
      Select the Clean theme. Ensure you have an RTL language pack installed. Navigate to the Frontpage. Ensure the 'Calendar' block is showing. Hover over the current date and confirm that the popover appears over the current date. Switch to an RTL language. Hover over the current date and confirm that the popover appears over the current date.

    Description

      With reference to: https://moodle.org/mod/forum/discuss.php?d=359056 the Calendar (and I suspect all popover's) is misplaced in RTL languages.

      This is caused by the 'popover' class 'left' attribute being changed to 'right' by the auto-flipping technology in M3.3+.  The flip does not need to happen as its a screen position thing pertaining to where the originating popover is instigated and not to do with the flow of text.

      This only happens in BS2.3.2 based themes - i.e. that use Bootstrapbase as a parent.

      Attachments

        1. snapshot207.png
          81 kB
          Nadav Kavalerchik
        2. snapshot208.png
          81 kB
          Nadav Kavalerchik
        3. snapshot209.png
          13 kB
          Nadav Kavalerchik

        Issue Links

          Activity

            People

              gb2048 Gareth J Barnard
              gb2048 Gareth J Barnard
              Mihail Geshoski Mihail Geshoski
              David Monllaó David Monllaó
              Simey Lameze Simey Lameze
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17