Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Comments

fix: Goto Begin Dialog after clicking dialog#3079

Merged
cwhitten merged 6 commits intomicrosoft:masterfrom
tdurnford:fix/select-dialog
May 15, 2020
Merged

fix: Goto Begin Dialog after clicking dialog#3079
cwhitten merged 6 commits intomicrosoft:masterfrom
tdurnford:fix/select-dialog

Conversation

@tdurnford
Copy link
Collaborator

Description

The designPageLocation object being included in the usEffect dependency array causes the selected trigger to be set to the BeginDialog trigger after the user selects the dialog because designPageLocation.selected gets set to null when a trigger isn't selected which causes the hook to execute unnecessarily. Removing designPageLocation from the usEffect dependency array resolves the issue.

Task Item

Closes #3070

Screenshots

recording

@coveralls
Copy link

coveralls commented May 15, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling c292a42 on tdurnford:fix/select-dialog into 3a6466c on microsoft:master.

@cwhitten cwhitten merged commit 66bedee into microsoft:master May 15, 2020
@tdurnford tdurnford deleted the fix/select-dialog branch May 15, 2020 19:53
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* fix: Goto Begin Dialog after clicking dialog

* Minor edit

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants