You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for Toast isn't clear on whether the <Button slot="close"> must be a sibling of <ToastContent>. All examples show this pattern, but it's never explicitly stated as a requirement.
Documentation request:
Please clarify in the docs if this structure is mandatory for accessibility and focus management?
API suggestion:
If the structure is mandatory, I suggest re-evaluating this approach. The current design makes it difficult to implement common UI patterns, like placing the close button in a header next to the title, without using CSS workarounds (e.g., position: absolute).