[GH-ISSUE #2740] [bug]: UI: Cookie Notice Toast is rendered multiple times when toggling Zen Mode #890

Closed
opened 2026-03-16 17:34:37 +03:00 by kerem · 1 comment
Owner

Originally created by @Pranav-yadav on GitHub (Oct 5, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2740

Originally assigned to: @liyasthomas on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When you visit the webapp for the first time the Cookie Notice Toast is shown. Which is good :) but, at the same time if the user toggles the Zen Mode at least twice, the same toast is rendered multiple times. See the attached ss:

Obviously if the user dismisses the notice (toast), it's not rendered multiple times.

PS: Find steps to repro. this bug, under repro. subheading.
Also if possible, please confirm and assign this bug to me with some hints to fix this UI bug. Would love to fix this bug as part of Hacktoberfest :)

Screenshot

Screenshot of: [bug]: UI: Cookie Notice Toast is rendered multiple times when toggling Zen Mode

Steps to reproduce

  1. Go to https://hoppscotch.io preferably in incognito/private window/tab
  2. Make sure the Cookie Notice toast is visible. 🤷
  3. Toggle the Zen Mode
  4. Again toggle the Zen Mode
  5. At this step you must see another Cookie Notice toast
  6. Repeat the steps 3-4 and it'll again render..
  7. [Optional] You can keep repeating steps 3-4 if you like cookies :)

Environment

Production

Version

Cloud

Originally created by @Pranav-yadav on GitHub (Oct 5, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2740 Originally assigned to: @liyasthomas on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When you visit the webapp for the first time the **Cookie Notice Toast** is shown. Which is good :) but, at the same time if the user toggles the **Zen Mode** *at least twice*, the same toast is rendered multiple times. See the attached ss: Obviously if the user dismisses the notice (toast), it's not rendered multiple times. PS: Find steps to repro. this bug, under repro. subheading. Also if possible, please confirm and assign this bug to me with some hints to fix this UI bug. Would love to fix this bug as part of Hacktoberfest :) <details> <summary><h3>Screenshot</h3></summary> <img src="https://user-images.githubusercontent.com/55224033/194093792-898b928c-0bdd-45fe-9a4a-01bd7bbb8aa5.png" alt="Screenshot of: [bug]: UI: Cookie Notice Toast is rendered multiple times when toggling Zen Mode"> </details> ### Steps to reproduce 1. Go to [https://hoppscotch.io](https://hoppscotch.io/) _preferably in incognito/private window/tab_ 2. Make sure the Cookie Notice toast is visible. 🤷 3. Toggle the Zen Mode 4. Again toggle the Zen Mode 5. At this step you must see another Cookie Notice toast 6. Repeat the steps 3-4 and it'll again render.. 7. [Optional] You can keep repeating steps 3-4 if you like cookies :) ### Environment Production ### Version Cloud
kerem 2026-03-16 17:34:37 +03:00
Author
Owner

@Pranav-yadav commented on GitHub (Oct 5, 2022):

@liyasthomas whoaa that was quick.. hotfix mode ON haha.
PS: I was hoping to fix it as part of Hacktoberfest once confirmed :) I understand the priority in prod.... No worries.

PPS: Let me know if any less priority bug need to be fixed.. #hacktoberfest

<!-- gh-comment-id:1268641544 --> @Pranav-yadav commented on GitHub (Oct 5, 2022): @liyasthomas whoaa that was quick.. _hotfix_ mode ON haha. PS: I was hoping to fix it as part of Hacktoberfest once confirmed :) I understand the priority in prod.... No worries. PPS: Let me know if any less priority bug need to be fixed.. #hacktoberfest
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#890
No description provided.