Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchor overlaps with help button, is disabled, but still blocks hover #8439

Closed
3 of 4 tasks
rutger-van-beek-cqm opened this issue Apr 5, 2024 · 3 comments
Closed
3 of 4 tasks
Labels

Comments

@rutger-van-beek-cqm
Copy link

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

Similar to #4384, I had a case where the anchor of a header was in front of another widgets help button. I have disabled the anchor. However, the hover of the help button stills seems disabled at the particular point, where used to be an anchor.

image

Reproducible Code Example

import streamlit as st

cols = st.columns(2)

cols[0].text("I'm a column!")
cols[0].number_input('My help hover does not work', help='test')
cols[0].number_input('My help hover works', help='test')
cols[1].header('Hello World!', anchor=False)

Steps To Reproduce

In code example, the header and button are aligned such that the anchor overlaps, the help button. Even after disabling the anchor, the hover does not work for the top button. The button below it is not aligned with the anchor of the header and therefore works as usual.

Expected Behavior

After disabling the anchor, the hover is should work.

Current Behavior

No response

Is this a regression?

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

Debug info

  • Streamlit version: 1.31.1
  • Python version: 3.10.11
  • Operating System: Windows
  • Browser: Chrome

Additional Information

No response

@rutger-van-beek-cqm rutger-van-beek-cqm added status:needs-triage Has not been triaged by the Streamlit team type:bug Something isn't working labels Apr 5, 2024
Copy link

github-actions bot commented Apr 5, 2024

If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.

Your feedback helps us prioritize which bugs to investigate and address first.

Visits

@jrieke
Copy link
Collaborator

jrieke commented Apr 5, 2024

Thanks for the comment! We want to revamp the design and location of the anchor in the next few months, so this should hopefully fix all of these issues.

@kmcgrady kmcgrady added priority:P3 and removed status:needs-triage Has not been triaged by the Streamlit team labels Apr 8, 2024
@LukasMasuch
Copy link
Collaborator

This is fixed by #8587 and will be released in 1.35 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants