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

Preview: Invisible pages can be clicked within the Page Navigator with no effect #5592

Closed
JaneSjs opened this issue Jun 18, 2024 · 2 comments · Fixed by #5602 or #5605
Closed

Preview: Invisible pages can be clicked within the Page Navigator with no effect #5592

JaneSjs opened this issue Jun 18, 2024 · 2 comments · Fixed by #5602 or #5605
Assignees
Labels
bug user issue An issue or bug reported by users.
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jun 18, 2024

FIXED

Since Survey Creator v1.11.4, invisible pages in the Page Navigator are disabled and marked with a crossed eye icon. If users click the "Show invisible elements" button at the top right corner, the invisible pages become active, and users can swtich to them using the Page Navigator.

image


T18660 - Page not hiding when using logic
https://surveyjs.answerdesk.io/internal/ticket/details/T18660


In the following demo, Page 2 is initially invisible.

{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "boolean",
     "name": "question1",
     "title": "Show Page"
    }
   ]
  },
  {
   "name": "page2",
   "elements": [
    {
     "type": "rating",
     "name": "question2"
    }
   ],
   "visibleIf": "{question1} = true"
  },
  {
   "name": "page3",
   "elements": [
    {
     "type": "radiogroup",
     "name": "question3",
     "choices": [
      "Item 1",
      "Item 2",
      "Item 3"
     ]
    }
   ]
  }
 ]
}

View Demo

Nevertheless, the page is available within a page navigator and a user can click the page:
image

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Jun 18, 2024
@mikeamelin
Copy link

@mikeamelin
Copy link

mikeamelin commented Jun 21, 2024

  • wrong color
  • wrong indent

Image

  • still no ability to select hidden page
Screen.Recording.2024-06-21.at.16.45.03.mov

@mikeamelin mikeamelin reopened this Jun 21, 2024
OlgaLarina pushed a commit that referenced this issue Jun 24, 2024
@OlgaLarina OlgaLarina linked a pull request Jun 24, 2024 that will close this issue
OlgaLarina pushed a commit that referenced this issue Jun 24, 2024
OlgaLarina pushed a commit that referenced this issue Jun 24, 2024
@RomanTsukanov RomanTsukanov changed the title Invisible Pages can be clicked within the preview's Page Navigator Preview: Invisible pages can be clicked within the Page Navigator with no effect Jun 25, 2024
@mikeamelin mikeamelin removed their assignment Jun 25, 2024
@OlgaLarina OlgaLarina added this to the v1.11.4 milestone Jun 25, 2024
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
3 participants