-
Notifications
You must be signed in to change notification settings - Fork 85
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(toast): margin-top on notice variant prevents elements being clicked #6736
Conversation
The margin-top on a "notice" Toast would prevent elements behind it from being clicked. fix #6730
@@ -227,7 +227,7 @@ describe("Toast component", () => { | |||
expect(screen.getByTestId("toast")).toHaveAttribute("id", "exampleId"); | |||
}); | |||
|
|||
it("shoud render any child content passed via the `children` prop", () => { |
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.
praise: nice pick up
@@ -79,7 +79,19 @@ Default.args = { | |||
}; | |||
Default.argTypes = { | |||
variant: { | |||
options: TOAST_COLORS, |
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.
praise: nice improvement to add the missing props
🎉 This PR is included in version 135.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fix #6730
Proposed behaviour
Remove margin-top from "notice"
Toast
.Current behaviour
The margin-top on a "notice"
Toast
prevents elements behind it from being clicked.Checklist
d.ts
file added or updated if requiredQA
Additional context
Testing instructions