-
Notifications
You must be signed in to change notification settings - Fork 598
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
ActionList.TrailingAction
does not fit ActionList.Item
parent
#5668
Comments
Uh oh! @prichodko, at least one image you shared is missing helpful alt text. Check your issue body to fix the following violations:
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
|
Hey @prichodko, are you seeing this bug in production or have you only tested this code locally? We have a feature flag staff shipped right now called Could you try enabling that locally to see if the problem persists? We may need to do some CSS overrides to make it look right for production depending on how quickly you need this. |
@langermank – sorry for taking a while to answer, I was figuring out my entitlements. Could you help me understand how I can tell if the I ran bin/toggle-feature-flag enable primer_react_css_modules_staff and noticed it is also enabled in the staff bar features dialog: ![]() I tried disabling it in that dialog, but I still don't see any difference. I know this might be a general question for FFs, but I'm still figuring out how it works. 😅 |
This comment has been minimized.
This comment has been minimized.
@langermank, I enabled the the FF locally and result is still the same: ![]() The workaround is implemented here https://github.com/github/github/pull/361173/files. |
Hey @prichodko I pulled your branch and refactored it to use ![]() That said, I think I would recommend not using it until this FF ships unless this particular feature is only staff shipped today. We're just a few weeks away. I'm happy to help refactor it later once TrailingAction looks correct! |
@langermank – thanks for double-checking. I joined two weeks ago and am still learning my way around. I'd love to know what I'm doing wrong. 😅 |
Description
The
ActionList.TrailingAction
component withinActionList.Item
is causing a layout issue. Specifically, the underlyingIconButton
(32px) exceeds the available height of 20px, which causes unwanted expansion of the wrapping element..Here's the current component structure:
Steps to reproduce
https://codesandbox.io/p/sandbox/magical-zhukovsky-3wj36g
Looking at the reproduction, it also seems that
TrailingAction
is missing a hover state.Version
v37.11.2
Browser
No response
The text was updated successfully, but these errors were encountered: