# \`Show Next/Previous Tab\` should wrap

**URL:** <https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696>\
**Category:** Feature Requests\
**Created:** [16 November 2025 15:38 UTC](https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696 "2025-11-16T15:38:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdvine](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gdvine/32/101799_2.png) [@gdvine](https://discourse.nodered.org/u/gdvine)\
**Post date:** [16 November 2025 15:38 UTC](https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696/1 "2025-11-16T15:38:06Z")

</div>

This simple feature was already mentioned by a user [here back in 2018](https://discourse.nodered.org/t/navigating-the-editor-tabs/5077/4).

Simply put, the Next/Previous tab actions should wrap: `Next` from the last tab should go to the first, and `Previous` from the first tab should jump to the last.

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [17 November 2025 08:55 UTC](https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696/2 "2025-11-17T08:55:59Z")

</div>

> <https://github.com/node-red/node-red/pull/5355>
>
> \## Types of changes
> 
> \- \[x\] Bugfix (non-breaking change which fixes an issue)
> …- \[\] New feature (non-breaking change which adds functionality)
> 
> \## Proposed changes
> 
> Request: https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696
> 
> Allow actions \`show-next-tab\` and \`show-previous-tab\` to loop; returns to the first tab if we have reached the end, and vice versa.
> 
> \## Checklist
> 
> \- \[x\] I have read the \[contribution guidelines\](https://github.com/node-red/node-red/blob/master/CONTRIBUTING.md)
> \- \[\] For non-bugfix PRs, I have discussed this change on the forum/slack team.
> \- \[x\] I have run \`npm run test\` to verify the unit tests pass
> \- \[\] I have added suitable unit tests to cover the new/changed functionality

---

<div class="post-metadata">

**Author:** ![gdvine](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gdvine/32/101799_2.png) [@gdvine](https://discourse.nodered.org/u/gdvine)\
**Post date:** [17 November 2025 17:44 UTC](https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696/3 "2025-11-17T17:44:14Z")

</div>

Thank you!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 January 2026 17:44 UTC](https://discourse.nodered.org/t/show-next-previous-tab-should-wrap/99696/4 "2026-01-16T17:44:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
