Skip to content

Element Selector in Property Grid: A clicked nested element (matrix column) is not selected on the design surface #6685

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

Closed
JaneSjs opened this issue Mar 5, 2025 · 1 comment
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Mar 5, 2025

T22155 - Property Grid - Element Selector - A clicked element is not immediatelly selected
https://surveyjs.answerdesk.io/internal/ticket/details/T22155


The design surface is not scrolled to focus a matrix column which is selected via a property grid's element selector. To reproduce the issue, load the following survey and select Column 1:

Image

{
  "title": "NPS Survey Question",
  "logoHeight": "60px",
  "completedHtml": "<h3>Thank you for your feedback</h3>",
  "completedHtmlOnCondition": [
    {
      "expression": "{nps_score} >= 9",
      "html": "<h3>Thank you for your feedback</h3> <h4>We are glad that you love our product. Your ideas and suggestions will help us make it even better.</h4>"
    },
    {
      "expression": "{nps_score} >= 6  and {nps_score} <= 8",
      "html": "<h3>Thank you for your feedback</h3> <h4>We are glad that you shared your ideas with us. They will help us make our product better.</h4>"
    }
  ],
  "pages": [
    {
      "name": "page1",
      "elements": [
        {
          "type": "rating",
          "name": "nps_score",
          "title": "On a scale of zero to ten, how likely are you to recommend our product to a friend or colleague?",
          "isRequired": true,
          "rateCount": 11,
          "rateMin": 0,
          "rateMax": 10,
          "minRateDescription": "(Most unlikely)",
          "maxRateDescription": "(Most likely)"
        },
        {
          "type": "checkbox",
          "name": "promoter_features",
          "visibleIf": "{nps_score} >= 9",
          "title": "Which of the following features do you value the most?",
          "description": "Please select no more than three features.",
          "isRequired": true,
          "validators": [
            {
              "type": "answercount",
              "text": "Please select no more than three features.",
              "maxCount": 3
            }
          ],
          "choices": [
            "Performance",
            "Stability",
            "User interface",
            "Complete functionality",
            "Learning materials (documentation, demos, code examples)",
            "Quality support"
          ],
          "showOtherItem": true,
          "otherText": "Other features:",
          "colCount": 2
        },
        {
          "type": "comment",
          "name": "passive_experience",
          "visibleIf": "{nps_score} >= 7  and {nps_score} <= 8",
          "title": "What can we do to make your experience more satisfying?"
        },
        {
          "type": "comment",
          "name": "disappointing_experience",
          "visibleIf": "{nps_score} <= 6",
          "title": "Please let us know why you had such a disappointing experience with our product"
        },
        {
          "type": "matrixdropdown",
          "name": "question1",
          "columns": [
            {
              "name": "Column 1"
            },
            {
              "name": "Column 2"
            },
            {
              "name": "Column 3"
            }
          ],
          "choices": [
            1,
            2,
            3,
            4,
            5
          ],
          "rows": [
            "Row 1",
            "Row 2"
          ]
        }
      ]
    }
  ],
  "headerView": "advanced"
}
2025-03-05_9-37-36.mp4
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. v2.0+ and removed v2.0+ labels Mar 5, 2025
@dmitry-kurmanov
Copy link
Member

dmitry-kurmanov commented Mar 5, 2025

MatrixDropdownColumn: isInteractiveDesignElement and id

Image

dmitry-kurmanov added a commit to surveyjs/survey-library that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit to surveyjs/survey-library that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit to surveyjs/survey-library that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 5, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 6, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 11, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 11, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 12, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 12, 2025
dmitry-kurmanov added a commit that referenced this issue Mar 12, 2025
This reverts commit 49c8a53.
novikov82 pushed a commit that referenced this issue Mar 12, 2025
…mediatelly selected (#6718)

* work for the #6685

* work for the #6685

* work for the #6685

* work for the #6685

* Revert "work for the #6685"

This reverts commit 49c8a53.
dmitry-kurmanov added a commit that referenced this issue Mar 13, 2025
…mediatelly selected (#6718)

* work for the #6685

* work for the #6685

* work for the #6685

* work for the #6685

* Revert "work for the #6685"

This reverts commit 49c8a53.
@RomanTsukanov RomanTsukanov changed the title Property Grid - Element Selector - A clicked element is not immediatelly selected Element Selector in Property Grid: A clicked nested element (matrix column) is not selected on the design surface Mar 18, 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

4 participants