So, the good thing is that the hash changes are reflected on the address bar, but unfortunately only picked up by the tabbed container when you do a full reload/refresh of the page.
If there's no page refresh, the hash is changed but the tabbed container does not change the view.
This would have been a really neat way to use the Navigation component to control a tabbed container if I can get it to work.
Any clue as to what I'm doing wrong ?
As an alternative, I thought of calling a query but the JS query has no way to figure out which navigation item was clicked.
Hi @fragrant_issues I'm not able to reproduce this in the latest Retool version. Can you share which version of Retool you are using? Do you have the option to set the tabbed container's default view in each app and would that work for your use case?
As Amanda mentioned, this does seem to be working on cloud version 2.101.0, but not any self-hosted version (2.99.3 and below as of this post). As a workaround, instead of firing a JS query, you can have a Query JSON with SQL query listen for changes in your hash parameter and then trigger switch the tabs on your container: