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

[Table] Fix missing selection border on left edge of grid #1622

Merged
merged 2 commits into from
Sep 26, 2017

Conversation

cmslewis
Copy link
Contributor

Addreses #1444

Changes proposed in this pull request:

  • 🐛 FIXED Table now displays a left border on selections that are flush with the left side of the grid.

Reviewers should focus on:

image

Screenshot

2017-09-26 14 04 32

Copy link
Contributor Author

@cmslewis cmslewis left a comment

Choose a reason for hiding this comment

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

Self-review

@@ -104,6 +104,13 @@ $table-quadrant-scroll-container-overflow: 20px;
height: auto;
overflow-x: hidden;
}

// correct missing left selecton border when selection includes
// cells in the first column (#516). we do this by requiring at least
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should say #1444.

@blueprint-bot
Copy link

Fix comment

Preview: documentation | table
Coverage: core | datetime

Copy link
Contributor

@llorca llorca left a comment

Choose a reason for hiding this comment

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

Works as expected, but it's really awkward that we have this blue line staying around on scroll, only when a selection is on the edge of a region.

I wouldn't mind having the blue line sticking around if the behavior was consistent no matter what the selection is, but I still think the ideal scenario is no blue line visible on scroll

@cmslewis
Copy link
Contributor Author

@llorca I agree. I have a potential fix in mind.

@cmslewis cmslewis merged commit 5626890 into master Sep 26, 2017
@cmslewis cmslewis deleted the cl/table-selection-border branch September 26, 2017 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants