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

Need to click twice to unselect after switching view type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.0.1
    • 5.0
    • content app
    • None

      To reproduce:

      • Open assets app
      • Expand demo-features/stage/component
      • Click 940x320_demo01
      • Click list view
      • 940x320_demo01 is selected
      • Click it to deselect
      • Nothing happens
      • Click it again and its deselected

      The cause is that the ClickListener in ListViewImpl keeps a field previousSelection for implementing toggling of selection. This field however is only accurate after a selection has occured by clicking.

        Acceptance criteria

              tmattsson Tobias Mattsson
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD