Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7538

LocaleSelector's popup menu scrolls to selected item as default behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.26
    • 6.2.24
    • None
    • Yes
    • Yes
    • Nucleus 21
    • 2

      Steps to reproduce

      1.  Go to demo
      2.  Go to Site app, open Travel site definition and within the i18n folder, delete the locales node
      3.  Select the i18n node and import the config.modules.multisite.config.sites.fallback.i18n.locales.yaml file
      4.  Go to Pages-app, open a page and select another language (not English)
      5. Check that if the locale belongs to the first group (you didn't need to scroll on the locales dropdown), then if you open the language selector again the selected language is selected
      6. Now select a locale that is on other page (you need to scroll on the languages selector drop down)
      7. Open the dropdown menu again and check that English (the first displayed locale) is selected

      Expected results

      The selected locale is respected

      Actual results

      If the selected locale is not on the first group of locales, the first one (usually, English) is selected

      Workaround

      N/A

      Development notes

      Check the videos attached by the customer:

      Under ten locales

      More than ten locales

        Acceptance criteria

              thien.quach Quach Hao Thien
              ccantalapiedra Carlos Cantalapiedra
              Nucleus
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2d 5.5h
                  2d 5.5h