Skip to content

Commit

Permalink
React: survey.focusQuestion doesn't work for a question on another pa…
Browse files Browse the repository at this point in the history
…ge if pages names are not unique fix #6555 (#6576)
  • Loading branch information
andrewtelnov authored Jul 24, 2023
1 parent f64ac30 commit e1016de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/panel-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class SurveyPanelBase extends SurveyElementBase<any, any> {
!!prevProps.page &&
!!this.survey &&
!!this.survey.currentPage &&
prevProps.page.name === this.survey.currentPage.name
prevProps.page.id === this.survey.currentPage.id
)
return;
this.doAfterRender();
Expand Down

0 comments on commit e1016de

Please sign in to comment.