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

Calendar popover misplaced in RTL languages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.3
    • 3.3.2, 3.4
    • 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.

      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.

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

            gb2048 Gareth J Barnard
            gb2048 Gareth J Barnard
            Mihail Geshoski Mihail Geshoski
            David Monllaó David Monllaó
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.