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

STCOM-1348 Keyboard shortcut modal missing scrollbar. #2354

Merged
merged 3 commits into from
Oct 1, 2024
Merged

Conversation

JohnC-80
Copy link
Contributor

STCOM-1348

During refactor of our modals, an inline style was added, hiding the overflow of the content div. This PR just removes that inline style. Tested with the ui-plugin-find-users modal as well as the applicable keyboard shortcuts modal.

@JohnC-80 JohnC-80 requested a review from a team September 30, 2024 20:34
Copy link

github-actions bot commented Sep 30, 2024

Bigtest Unit Test Results

    1 files  ±0      1 suites  ±0   14s ⏱️ ±0s
1 521 tests ±0  1 513 ✅ ±0  8 💤 ±0  0 ❌ ±0 
1 523 runs  ±0  1 515 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit 0ba8bfe. ± Comparison against base commit d66b253.

♻️ This comment has been updated with latest results.

Copy link
Member

@zburke zburke left a comment

Choose a reason for hiding this comment

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

@JohnC-80, this PR explains the solution (remove the offending style={{ overflow: 'hidden' }} line) but it would be nice to know why that line was added in the first place in STCOM-1334/PR #2341. Indisputably, it causes the scroll problem, but presumably it solved some problem as well. Will that problem now resurface or are you confident it's just cruft?

@JohnC-80
Copy link
Contributor Author

JohnC-80 commented Oct 1, 2024

I'm pretty confident of cruft here. It was not present on the modal content pre-refactor, conflicts with the overflow: auto built-in styling of ModalContent and there's no logical cause in the code. Likely, it was added for testing/ensuring Overlay problems/functionality in a pre- #2351 world.

Copy link

sonarqubecloud bot commented Oct 1, 2024

@JohnC-80 JohnC-80 merged commit 308daff into master Oct 1, 2024
25 checks passed
@JohnC-80 JohnC-80 deleted the STCOM-1348 branch October 1, 2024 21:47
github-actions bot pushed a commit that referenced this pull request Oct 1, 2024
* remove inline style from modal content

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

Successfully merging this pull request may close these issues.

3 participants