https://github.com/brianmcleer/sidebar-custom-widget
A customized version of Esri's Sidebar widget for ArcGIS Experience Builder. It keeps everything the stock Sidebar does and adds automatic expansion so a collapsed sidebar opens itself when a table is shown, which keeps the Table widget visible inside the sidebar instead of hidden behind a collapsed panel.
Features
- Auto-expand on table open. When a collapsed sidebar contains a Table widget and a user runs "Add to table" or "View in table", the sidebar expands automatically so the table is visible.
- Auto-expand for widget controllers. A collapsed sidebar also expands when a widget inside a Widget Controller is opened, so the controller content is not stuck behind a collapsed panel.
- Everything from the stock Sidebar widget: two configurable panels (FIRST and SECOND), fixed layouts, the toggle button with its configurable colors and border, and the toggle and open message actions.
Comes from an idea and great solution by @JeffreyThompson2 at The Automatically Opening Attribute Table.