Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

AR-2064 Resolve issue where ListDivider overflows container #312

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

justinanastos
Copy link
Contributor

@justinanastos justinanastos commented Feb 11, 2021

AR-2064

The overflowing ListDivider caused List to horizontally scroll. There was a fix in place in Studio UI; but that breaks the ability to nest tooltips. This resolves the root issue by absolutely positioning the hr in ListDivider so it no longer is considered for scroll behavior.

Testing

You can see the wrong behavior here. Visit this story, try to scroll horizontally. You'll see it's possible, but it shouldn't be.

You can verify the correct behavior in the deploy preview here.

📦 Published PR as canary version: 8.14.1-canary.312.8165.0

✨ Test out this PR locally via:

npm install @apollo/space-kit@8.14.1-canary.312.8165.0
# or 
yarn add @apollo/space-kit@8.14.1-canary.312.8165.0

@justinanastos justinanastos added the bug fix Increment the patch version when merged label Feb 11, 2021
@justinanastos justinanastos changed the title fix(ListDivider): resolve issue where ListDivider overflows container AR-2064 Resolve issue where ListDivider overflows container Feb 11, 2021
@mayakoneval
Copy link
Contributor

Thanks - I will delete the studio UI overflow bit on the PR for the FeatureIntro feature!

This causes the list to scroll side-to-side. Resolved by absolutely
positioning the `hr` so that it doesn't have any effect on scroll behavior.
@justinanastos justinanastos enabled auto-merge (squash) February 11, 2021 17:27
@justinanastos justinanastos merged commit f3104db into main Feb 11, 2021
@justinanastos justinanastos deleted the justin/fix-list-divider branch February 11, 2021 17:49
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v8.15.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants