-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(virtual-repeat-container): support horizontal scrollbar in vertical orientation #11462
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it! |
CLAs look good, thanks! |
I think you might have linked the wrong issue |
Thats right, missing the last digit of the number. Corrected ! Thanks |
Looks like the CI failed because of some virtual-repeat tests. I would run the tests locally and make sure you're not breaking any existing functionality and adjust your code / the tests appropriately. |
You checked the box for "The commit message follows our guidelines" but you didn't follow the guidelines. Please update your commit message and fix any broken unit tests locally. |
These tests are failing:
We'll need all existing tests to pass before we can consider the PR. |
It would also be helpful if you could explain your approach and add more details for why it handles all of the use cases better than the previous code. |
Done. |
@JSitjaNCR I see that you made a commit to the First thing is that when you update a commit or make changes to a PR, you'll need to use your same branch (patch-1 in this case). Then when you commit, you will want to amend the previous commit. Then you need to force push your updates to that same branch. Second thing, your commit message should look like this:
As described in https://github.com/angular/material/blob/master/.github/CONTRIBUTING.md#-commit-message-format. It doesn't need to include the whole PR template. Third, the tests are still failing. Please run |
Ok, I'm new on Github. I make my first commit directly into the browser without doing locally a clone, and i don't found the branch to amend the previous commit. (Sorry for my bad english)
Done ! |
Make sure to push any changes you made to fix tests 😉 |
Finally found how to clone the branch. |
No problem with being new to GitHub. We're happy to help you work through it or point you to resources. I'm glad that you were able to get your fork cloned and push and update to your branch! That's good progress. Once you get the hang of these things, it gets a lot easier and faster 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash your commits as described at the end of the Submitting Pull Requests section of our Pull Request Guidelines.
You can avoid needing to squash commits in the first place by using Git's amend commit feature. This GitHub Guide on Amending Commits is really helpful.
…al orientation programmatic scroll to end causes rendering failures when horizontal scrollbar is applied amended: passing tests Fixes #11461.
Restarted the one test run that got disconnected. It looks like they will all pass now. Thank you for fixing the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and manual testing was successful.
Issue #11461 : md-virtual-repeat-container: Scrolling to lasts elements do not render elements
PR Checklist
Please check that your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #11461
What is the new behavior?
Correct redering of last elements.
CodePen Demo added in issue for testing
Does this PR introduce a breaking change?
Other information