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: hide close button on non dimissable toasts #12

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

tutkli
Copy link
Owner

@tutkli tutkli commented Apr 10, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

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
  • Other... Please describe:

What is the current behavior?

Close button is show even if the toast is not dissmisable

Closes #11

What is the new behavior?

Close button is hidden on non dismissable toasts

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@tutkli tutkli merged commit 3d1b31a into master Apr 11, 2024
2 checks passed
tutkli pushed a commit that referenced this pull request Apr 11, 2024
## [0.4.1](v0.4.0...v0.4.1) (2024-04-11)

### Bug Fixes

* hide close button on non dimissable toasts ([#12](#12)) ([3d1b31a](3d1b31a))
@tutkli
Copy link
Owner Author

tutkli commented Apr 11, 2024

🎉 This PR is included in version 0.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tutkli tutkli deleted the bug/close-button branch April 11, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Close button still enabled for toasts with dismissable false when closeButton is true
1 participant