Close button stays in stack with unstyled set to true
Opened this issue · 0 comments
Schmell commented
Describe the bug
with unstyled set to true every toast in the stack has a closeButton
,
This was not the case with an older version and works correctly with unstyled unset or set to false,
Reproduction
create svevlte project with svelte-sonner installed
add unstyled:true
to toastOptions
note the closeButtons on all the toasts in the stack
switch unstyled
to false or remove unstyled
note that only the front toats in stack has closeButton
Logs
no errors
System Info
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Memory: 1.43 GB / 11.87 GB
Binaries:
Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
pnpm: 7.29.1 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Edge: Chromium (126.0.2592.61)
Internet Explorer: 11.0.19041.4355
Severity
annoyance