Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-117749

When there are a lot of questions, it takes two clicks on the same option before value is changed in the filter

    Details

      Description

      Related issue: LPS-116603

      Steps to reproduce:

      1. Navigate to dev.liferay.dev into a topic
      2. Filter by "Voted in the Last Week" by clicking on the toggle and selecting that option

      Expected result:
      The list is filtered by "Voted in the Last Week" and the toggle text is changed to reflect that.

      Actual result:
      The list is filtered by "Voted in the Last Week" but the toggle text changes to "Latest Created" (the default option). Clicking on "Voted in the Last Week" again changes the toggle text to the appropriate value.

      Regardless of which filter value you start with, the first click on another value always changes the value back to "Latest Created" (default), but the list is filtered properly. It is only when a user clicks on the option again that the toggle value changes to the appropriate value. See video below.

      m6mfyR2OKr.mp4
      Reproduced on:
      dev.liferay.dev

      This is not reproducible on a vanilla instance with minimal data.

        Attachments

          Activity

            People

            Assignee:
            jeremy.chen Jeremy Chen
            Reporter:
            austin.chiang Austin Chiang
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 11 weeks, 4 days ago

                Packages

                Version Package
                7.3.4 CE GA5
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master