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

fix: Goto Begin Dialog after clicking dialog #3079

Merged
merged 6 commits into from
May 15, 2020
Merged

fix: Goto Begin Dialog after clicking dialog #3079

merged 6 commits into from
May 15, 2020

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants