react-toastify icon indicating copy to clipboard operation
react-toastify copied to clipboard

Stacked mode. Mobile. After being closed, notifications does not stack again.

Open JustinasAltaravicius opened this issue 1 month ago • 5 comments

Vid:

https://github.com/user-attachments/assets/7e298a6f-4872-481d-b4fa-3934e6864d18

Code:

layout.tsx

import { ToastBtn } from "./ToastBtn";

export default function RootLayout() {
  return (
    <html lang="en">
      <body>
        <ToastBtn />
      </body>
    </html>
  );
}

ToastBtn.tsx


import { ToastContainer, toast } from "react-toastify";

export const ToastBtn = () => {
  const notify = () => toast("Wow so easy !");

  return (
    <div className="grid place-items-center h-dvh bg-zinc-900/15">
      <button onClick={notify}>Notify !</button>
      <ToastContainer stacked position="bottom-center" />
    </div>
  );
};

JustinasAltaravicius avatar Nov 20 '25 09:11 JustinasAltaravicius

I'd like to work on this issue if it's still available.
Can I take this?

sins051301 avatar Nov 21 '25 08:11 sins051301

I'd like to work on this issue if it's still available and i am new to contributions can i work on this ?

devel-maverick avatar Nov 22 '25 21:11 devel-maverick

I'd like to work on this issue if it's still available and i am new to contributions can i work on this ?

I'm currently working on this issue. Could you please wait a little while? If I find that I can't complete it, I'll let you know right away.

sins051301 avatar Nov 23 '25 07:11 sins051301

sure let me know afterward

devel-maverick avatar Nov 26 '25 04:11 devel-maverick

sure let me know afterward

Sorry for keeping you waiting.
I’ve just submitted the PR — please let me know if this is the right direction or if anything needs to be adjusted.
I’m happy to revise it!

sins051301 avatar Nov 26 '25 06:11 sins051301