-
-
Notifications
You must be signed in to change notification settings - Fork 19.8k
feat(components): [alert] add open and auto-close functionality with delays #20533
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
Conversation
|
👋 @betavs, thank you for contributing element-plus. |
commit: |
|
🧪 Playground Preview: https://element-plus.run/?pr=20533 |
a6573c7 to
ce61241
Compare
ce61241 to
4ae4aaf
Compare
4ae4aaf to
18c05f4
Compare
btea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
We can add a relevant example to the documentation.
done |
btea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Dsaquel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Taking a step back, I think the This is incredibly strange and I think it's a bug. No other UI library does this: https://mui.com/material-ui/react-alert/#transitions |
…ty with delay (#20533,#22028)" (#22560) * Revert "fix(components): [alert] show immediately when `showAfter` not needed (#22028)" This reverts commit 229a0a1. * Revert "feat(components): [alert] add open and auto-close functionality with delays (#20533)" * chore: update deprecated * docs: update remark

Please make sure these boxes are checked before submitting your PR, thank you!
close #5844
devbranch.