---
title: "React to Tab Changes in Dashboard"
description: "In FlowFuse Dashboard, ui-control now sends a message when someone switches tab on a page that uses the Tabs layout."
canonical_url: "https://flowfuse.com/changelog/2026/11/dashboard-tab-events/"
---

> Index of every page on this site: [llms.txt](https://flowfuse.com/llms.txt)

Your flows can now tell which tab someone is looking at. When someone switches tab on a Dashboard page that uses the Tabs layout, `ui-control` sends a message saying which tab they opened.

Previously, `ui-control` only reported page changes, so your flows had no way to see someone switch tabs within a page. Now you can load fresh data when someone opens the "Inbox" tab, pause updates for tabs nobody is viewing, or log which tabs get used.

Each message looks like this:

```js
msg = {
    payload: 'tab',
    tab: 1,
    id: 'c41e7b09a2d35f18',
    name: 'Alarms',
    page: 'Line 1'
}
```

To get started, set the `ui-control` node's **Output** to **Page/Tab Change Events Only** or **All Events**, then switch on `msg.payload === 'tab'` in your flow. Use `msg.id` to identify the tab. It stays the same even when other tabs are hidden.

![Switching tabs on a Dashboard page and the matching ui-control messages in the Node-RED debug sidebar](https://flowfuse.com/changelog/2026/11/images/dashboard-tab-events.gif)*Each tab switch on the Dashboard sends a message from ui-control, with the tab's id, name and page.*

You also get a message for the first tab when the page opens, so your flow always knows which tab is showing. Existing flows that handle the `change` event for pages keep working as before.

This feature is available to all FlowFuse Dashboard users from v1.37.0, wherever you run Node-RED.

## Sitemap

See the full [sitemap](https://flowfuse.com/sitemap.md) for all pages.
