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

Scroll to selected item does not work after search or deeplink request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.2.6
    • 6.2.3
    • content app

    Description

      If you search for an item on first level in a content app and click on the search result item, the opened content app doesn't scroll to the right position. The content app is still at the top and the user must scroll down.

      You can reproduce this on demoauthor instance by adding many assets in the dam app on top level. If you search for it, the app doesn't scroll to the searched item.

      Steps to reproduce

      • Search for something in the find bar, in the example we searched in demoauthor for "hanoi"
      • Click on the first result which takes you to the Assets app
      • This takes you to the content app where there are many assets already and you cannot see the asset you were looking for unless you scroll down:


         
        Expected results
        Once you search, you should only get the result you are looking for and should not have to scroll down. In the case of this customer they manage thousands of entries which makes it a big issue for them.
         
        Actual results
        You need to scroll down until you see what you are looking for

      Notes
      Works as expected in legacy apps on 6.2.3 (custom java script extending vaadin 7).
      E.g. search for 'dolphins' on our demo, use result from 'Assets' (legacy app)
      Or click this deep link:
      https://demo.magnolia-cms.com/.magnolia/admincentral#app:assets;/stories-demo/found-in-switzerland/tours/flickr_dolphins_Tony-Malkevist-for-the-Israeli-Ministry-of-Tourism_15391214725_e6cdb14869_k.jpg:edit

      -GridScrollExtension - does not lookup index, only allows scrolling to a point, we don't know what the position is.- This is supported by grid API itself, extension actually only remembers scroll position

      Checklists

        Acceptance criteria

        Attachments

          1. 1.png
            1.png
            157 kB
          2. 2.png
            2.png
            404 kB
          3. 3.png
            3.png
            360 kB

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                frank.sommer Frank Sommer
                Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 7h 47m
                      7h 47m