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

fix: popper blur in styleguide #1672

Merged
merged 3 commits into from
Dec 8, 2023
Merged

fix: popper blur in styleguide #1672

merged 3 commits into from
Dec 8, 2023

Conversation

dsmmcken
Copy link
Contributor

@dsmmcken dsmmcken commented Dec 6, 2023

Poppers such as menu dropdowns aren't closing in the styleguide on outside clicks, this is because no element has focus on the outside click, as e.relatedTarget was null. The main app doens't have this problem since tabindex=-1 is on the appmaincontainer. Add a wrapper (that includes the side marigins) to have a -1 tabindex.

Poppers such as menu dropdowns aren't closing in the styleguide on outside clicks, this is because no element has focus on the outside click, as e.relatedTarget was null. The main app doens't have this problem since tabindex=-1 is on the appmaincontainer. Add a wrapper (that includes the side marigins) to have a -1  tabindex.
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (88bcae0) 46.71% compared to head (ebc2f00) 46.71%.

Files Patch % Lines
packages/code-studio/src/styleguide/StyleGuide.tsx 75.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1672   +/-   ##
=======================================
  Coverage   46.71%   46.71%           
=======================================
  Files         606      606           
  Lines       36769    36769           
  Branches     9231     9231           
=======================================
  Hits        17176    17176           
  Misses      19541    19541           
  Partials       52       52           
Flag Coverage Δ
unit 46.71% <75.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsmmcken dsmmcken enabled auto-merge (squash) December 8, 2023 22:15
@dsmmcken dsmmcken merged commit 6fa2204 into main Dec 8, 2023
5 checks passed
@dsmmcken dsmmcken deleted the dmckenzie_styleguide_blur branch December 8, 2023 22:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants