Thanks to visit codestin.com
Credit goes to github.com

Skip to content

stSidebarNav items should be disabled when app is disconnectedΒ #9198

@sfc-gh-pfinnigan

Description

@sfc-gh-pfinnigan

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

When the websocket is disconnected, input widgets are disabled and show a 🚫 icon on hover. However, the stSidebarNav in a multi page app continues to show a white glove pointer icon on mouse hover. But it is not possible to switch pages while the app is disconnected. Instead of showing the white glove, the stSidebarNav should show a 🚫 icon over its items.

Reproducible Code Example

No response

Steps To Reproduce

  1. Create a multipage app
  2. disconnect network, wait for input widgets e.g. slider to turn grey and disabled
  3. hover over and try to click a page in stSidebarNav

Expected Behavior

disabled icon on hover

Current Behavior

white glove pointer icon on hover

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.35
  • Python version: 3.11
  • Operating System: osx
  • Browser: Chrome

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions