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

[BUGFIX] - Fix for duplicate modal and offcanvas content 894 #896

Merged
merged 3 commits into from
Mar 30, 2023

Conversation

Saravanan-Tangoe
Copy link
Contributor

@Saravanan-Tangoe Saravanan-Tangoe commented Oct 19, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added
  • Docs have been added or updated

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Style Update (CSS)
  • Other... Please describe:

What is the current behavior?

go-modal and go-off-canvas keeps adding duplicates body contents when user hits enter key

To reproduce:
https://tangoe.design/ui-kit/off-canvas
https://tangoe.design/ui-kit/modal

image

Resolves 894

What is the new behavior?

Should not create duplicate contents

Does this PR introduce a breaking change?

  • Yes
  • No

@Saravanan-Tangoe Saravanan-Tangoe added the bug Something isn't working label Oct 19, 2022
@Saravanan-Tangoe Saravanan-Tangoe self-assigned this Oct 19, 2022
@Saravanan-Tangoe Saravanan-Tangoe changed the title Fix for duplicate modal and offcanvas content [BUGFIX] - Fix for duplicate modal and offcanvas content 894 Oct 19, 2022
jiaweicai92
jiaweicai92 previously approved these changes Oct 19, 2022
Copy link
Contributor

@jiaweicai92 jiaweicai92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Left comment for some minor formatting issue.

adhiyan-tangoe
adhiyan-tangoe previously approved these changes Oct 19, 2022
Copy link
Contributor

@adhiyan-tangoe adhiyan-tangoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good. 👍

jiaweicai92
jiaweicai92 previously approved these changes Oct 19, 2022
Copy link
Contributor

@jiaweicai92 jiaweicai92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Saravanan-Tangoe
Copy link
Contributor Author

@jaykravetz can you please confirm the reason for dismiss stale review?

@RonMichaud RonMichaud merged commit 8b46a61 into dev Mar 30, 2023
@RonMichaud RonMichaud deleted the goModalDuplicateContent#894 branch March 30, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] go-modal duplicate containers getting created on hit of enter
4 participants