Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Select Matrix: A dropdown column loses focus when a dependent column appears #9233

Closed
JaneSjs opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 30, 2024

T21264 - Multi-Select Matrix - A dropdown loses focus when other columns appear based on the value of column 1
https://surveyjs.answerdesk.io/internal/ticket/details/T21264


If you test the following JSON, you'll see that focus stays within a standalone dropdown when a dependent question appears. However, in a multi-select matrix, a dropdown column loses focus when another column appears.

{
  pages: [
    {
      name: "page1",
      elements: [
        {
          type: "matrixdynamic",
          name: "question1",
          columns: [
            {
              name: "Column 1",
            },
            {
              name: "Column 2",
              visibleIf: "{row.Column 1} notempty",
            },
            {
              name: "Column 3",
              visibleIf: "{row.Column 1} notempty",
            },
          ],
          choices: [1, 2, 3, 4, 5],
        },
      ],
    },
  ],
}
2024-12-30_16-43-29.mp4
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Dec 30, 2024
@andrewtelnov andrewtelnov self-assigned this Jan 1, 2025
@tsv2013 tsv2013 closed this as completed in fccf10d Jan 9, 2025
tsv2013 pushed a commit that referenced this issue Jan 9, 2025
* Column loses focus when a dependent column appears fix #9233

* Fix functional tests

* Make sure the rows ids are unique

* FIx functional tests

* Update etalons with the corrected images

* Update etalon with the correct one

* Unique cells for showInMultipleColumns

* Fix error in rendered cell get id
andrewtelnov added a commit that referenced this issue Jan 9, 2025
* Column loses focus when a dependent column appears fix #9233

* Fix functional tests

* Make sure the rows ids are unique

* FIx functional tests

* Update etalons with the corrected images

* Update etalon with the correct one

* Unique cells for showInMultipleColumns

* Fix error in rendered cell get id
@RomanTsukanov RomanTsukanov changed the title Multi-Select Matrix - A dropdown column loses focus when a dependent column appears Multi-Select Matrix: A dropdown column loses focus when a dependent column appears Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

2 participants