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

Alert: Add close button with auto-dismiss #4529

Closed
jmanke opened this issue May 11, 2022 · 1 comment
Closed

Alert: Add close button with auto-dismiss #4529

jmanke opened this issue May 11, 2022 · 1 comment
Labels
enhancement Issues tied to a new feature or request.

Comments

@jmanke
Copy link

jmanke commented May 11, 2022

Description

On the calcite-alert, using the auto-close property will remove the close button. It would be nice to have an option to keep the close button when auto-close is present. The user may want to close the alert before the auto-dismiss-duration is over.

Acceptance Criteria

Either keep the close button when auto-dismiss is enabled or add it as an option (maybe as another property).

Relevant Info

No response

Which Component

calcite-alert

Example Use Case

An alert with auto-dismiss is prompted saying your download is complete. The user sees the alert and wants to clear it because it is blocking other UI they want to interact with. However, they must wait until the duration completes. Adding a close button will make the experience less clunky.

@jmanke jmanke added 0 - new New issues that need assignment. enhancement Issues tied to a new feature or request. needs triage Planning workflow - pending design/dev review. labels May 11, 2022
@macandcheese
Copy link
Contributor

@jmanke - This is referenced in this issue - #3338, could you give a plus one in that thread? I am going to close this as a duplicate.

@macandcheese macandcheese removed 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants